Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




E-Mailing System


I am not sure on how to go about this, but I want to make a e-mailing system that will e-mail everyone in my database.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
System(); Command Not Working On Remote System. Windows.
My server is a windows machine, on the same domain as python(also a windows machine). Apache is running as a service as an administrator. This is a test only environment to whom it may concern(I hate people telling me how insecure my system is) I'm just trying to run:

$last_line = exec('dir pythonc$', $retval, $g);
print_r($retval);
echo '<br>'.$g.'<br>';
echo '$last_line= '.$last_line.'<br>';
Which outputs:

Array ( )
1
$last_line=

The command from the command line works fine. And apache can access directories that only administrators can access on the local machine.

Mailing
Anyone know how to send e-mail using PHP, that I can be sure that every e-mail user will get it?

Now I'm using mail ( ) function and some people can't get this mails, because of security settings of their post system.

My PHP server is based on FreeBSD, and Apache. My post server is sendmail.

Mailing All Users
I am trying to do a mailing script that sends mail to all users, their addresses are stored in a MySQL table. However, I am having an odd problem with the footer....I am having an unsubscribe function which points to an URL with the user's email address in, however all of these footers are getting strung onto the end of each other and printed at the end of each email. Unsetting this footer after each email has sent has made no effect. The code:

Php Mailing List
Can anyone point me to a php script that stores email addresses into a
txt file?

The purpose for this is for a mailing list, ideally if a user wanted to
unsubscribe the email would be removed from the text file.

Automatic Mailing
I have a database in which people can submit theirselves. As soon as they submit the database gets updated and they should get a mail with their login-name & password. Does anybody know if this is possible to programm with php?

Bulk E-mailing
I have read a number of the threads on bulk and mass emailing using PHP with a MySql databse. Interesting and informative. But would someone be kind enough to share their complete sucessful code that starts at step one.

Php Mailing List
Is it possible to implement a mailing list using PHP?. I know I could
maintain a list of emails addresses in a db and send mail to them through my
website, but how can I get true mailing list behaviour where emails are sent
to a particular address (like mailinglist@mydomain.com) and then distributed
to all of the email addresses?.

PHP For A Mailing List
I' trying to develop a mailing list system in php and mysql.

Mailing Lists
I have searched in many places about how to set up a mailing list that is scalable yet no web sites seems to want to give out this info. I need to have this mailing list be effective even up to hundreds of thousands of users. Any advice/resources on how to set up this mailing list?

Mailing Class
Just wondered which mailing class do you use for your php sites?

I've been using phpmailer for several months but I encounter some
troubles using it now...

Do you know good mailer class ?

My Mailing Script
iv written a smiple php mail form. Everything works fine however the message ALWAYS delivers in the Junk box. The script is for my anonymous online confession website it allwos people to email other people anonymously. PHP Code:

Form And Mailing
in most forms these days, when you enter the data (+e-mail) and you press SUBMIT, you get a mail thanking you for filling out the form. Is this handled using just PHP mail() function, or is there another program which deals with this more thoroughly and securely?

E-Mailing Examples Help.
I have created a form, which will allow a person to upload a picture,
and leave me mail. What I am having problems doing is, having the
form actually upload the picture and attach it to an email that is
then sent to me. If anyone knows of any sample code I could look at,

Mailing With Php, But Not Via SMTP
I have to send ALOT of emails at once, but media temple limits it to 500 emails per hour, which is why i dont want to use SMTP. is this going to take forever using just PHP, or is there a faster way?

Mailing Form
I have created a mailing form that I have sending to a specified email right now. As it stands the email comes from the server. I would like to create an automated response email when someone fills out the form. Is there some way to make it so the form would look to my email like it is coming from the customer's email? or is there some way to have a automated response originate from the form and go to the customers email?

Mailing With A Link
I'm doing an web application,sort of a loaning equipment application, shopping cart in another word. Now, i'm stuck and figuring out an issue. My application flow is lyk dis.

user apply loan->onClick submit button, a mail will be send to administrator to inform and in the mail, there is to be a link which allows the administrator to go straight into a page of my application to audit the stock(this is the step which i'm trying to figure it out)

How am i suppose to do such that i can provide the link in the mail to go straight to 1 of the page in my application securely??

Mailing List
I want to create a mailing list for my website but i have never done this before, I searched on google and all i found was free mailing lists but when a user subscribes, it takes them to the website that provides the free mailing list and it has an ad for them when i send out an email, can anyone help me create my own mailing list?

Mailing List
i insert the emails and their names so i can do it lik 'Hi {name}, wehave a great new product.. etc' OK but how do i send an email to he all the emails in the rows, using mail()?

Mailing List
I am making a simple mailing list, and i have created a form which adds a persons email to a php document. I'm not sure about how i woould remove an email from the php document though? Any ideas?

Mailing My Users
My site was down for a few days so I tried to send my users a mail telling them it's back up, but it seems hotmail thinks it is spam! Please tell me how I can fix this.. cause it is only sent to people that register and it only takes 1 click to unsubscribe.. so it's definitely not spam.. 

BTW I'm using argosoft mail server

P.S. it keeps turning itself off so that I have to press the start button again over and over every time. Is there a way to fix this? It happens many times a day! T_T

Oh and I'm using windows in case that makes a differance.

Mass Mailing
I am sending SMTP emails via my PHP page, I am sending about 20 SMTP emails (stress testing) one after another, these emails are sent via a FOR loop (has one MySQL seek for email address in each loop)(with NO forced delay what so ever). Code:

Mailing List
I am really interested in putting a mailing list on my website. I have only just discovered php and mysql and I found a program called php list on my cPanel X control panel on my website.

I would like to put a text box on my navigation bar that has inside it "enter your e-mail" (when they click this disappears) and a button on the right of that which says "join" (I will have a jpg underneath this text box saying "Mailing List").

When someone clicks on "join" I would like them to get sent to a page with the e-mail address field filled out in the right table with what the address they entered in the navigation pane, along with a name field they can fill out and a Submit button.

I have seen these on many websites so I assume it is not that hard to do, but I am pretty lost as to how everything is connected (the database (mysql?) and the php list program).

I assume when they click submit it will send their details to a mysql database / send them a confirmation e-mail.

I was wondering what code I will need to make this system work, as I have been reading and googling and I am quite lost as to the mechanics of how it all works.

Mailing Form
I am new to PHP as well as this forum. I am good at ASP (but my school has linux box runing). Currently I am stuck with a project in which I have an HTML page with around 200 text boxes in a single form.

When I click the submit button, the html page will send the data to a PHP page. The PHP page displays the values of the text boxes in a properly formatted table and emails the formatted page to an email id, which is provided (in the code).

The thing, is I hav finished the code for displaying the formatted page, but I don't know how to do that email coding. I want the email in HTML format.

Problem Mailing Attachment
I mentioned in a previous post (here) that I am trying to create a rich text format file and send it via PHP's mail() function. Almost evertyhing works - I am able to create the file and send it as an attachment. The problem occurs when I open the file.

It has nothing to do with the .rtf itself. The problem appears to be with the mail() function. The mail function seems to add a carriage return or space before the $message portion of the email which screws up the display of the rich text file in MS Word.

I verified this in two ways:

First, by using a simple string for the $message variable in the email. PHP inserts a carriage return when here as well.

Second, by saving the attachment that PHP emails me, opening it with a text editor and deleting the carriage return at the beginning of the file, saving it and then renaming the extension to ".rtf". When I open this file with Word, it opens and displays perfectly.

PHP Mailing List Problem
Here's the problem: I've been trying to send to my mailing list using a PHP script, but the page that executes the send times out before the script can actually send to everyone on the list; only about the first half gets sent to.. Is there any possible way around this or to stop the browser from timing out?

Maintaining Mailing Lists
I've few doubts; I'm asking two problem here.

1st, can we use PHP for maintaining mailing-lists. Say, we've 1000 users, need be e-mailed a subscription newsletter i.e. $message is same, loop through e-mail array in db.

2nd, Web site search. We maintain database after reading files using PHP and manipulate results from db.

Question is, if PHP is a solution for these problems, also, when users' ( 1 ), keywords' ( 2 ) dbs grow big! There is also a limit of a PHP script execution. In 1st case, PHP has to parse, suppose 10k subscribers, and generate 10k e-mail for sendmail program.

Is PHP feasible for such things. What else, is a better and professionally used solution. I don't know CGI? Perl?

Newsletter Mailing Program
Does anybody know of a good, reliable PHP newsletter mailing program?

I have a Yahoo! dot com hosting (which is great - I recommend it). The hosting has a MySQL database backend. It also has PHP installed. The hosting, however, will not support Perl. I am planning to offer the newsletter mailing program to potential customers so it needs to be user-friendly.

Writing Mailing List In PHP?
what's the best way to write a simple mailing list program? If one tries to send email to over 600 addresses using mail(), a usual script will most likely timeout.

So, the question is, what's the best way to sendout email to over 600 ppl?

Mass Mailing From Database
The code takes all the email addresses from a database table and sends out email to each of them using the mail() function. I'm hosted on a virtual host, so I can't change any INI files or anything to stop the script timing out. I tried putting set_time_limit(0); at the top of the file, to no avail.

My options appear to be:

1) Get a Perl script to do it (I can't program in Perl, or find one to do it.)

2) Get some kind of list software (this needs to be in Perl, as I can't install anything on the server. Also it needs to be free, and must work with my existing system (a MySQL database))

3) Get around the time-outs in PHP (I'm not sure how)

Form Mailing Issues
I want to have a seperate form submit button that has a different "action" which would point to the mailing script. But I want it to be able to Post all form fields from the other form that is on the same page. Can I just create a new form at the very bottom with a submit button and it will still pass all fields on the page from the other form that ends before it on the very same page?

Selecting With PHP And Mass Mailing
I work as the sysadmin for a local ISP. I need a way to access some information from our database of stories we post on the site each day. I'm going to write a script that will access the database and grab the last 7 entries that were entered. I'm not sure how to go about selecting this information.

Also, I used to have a simple perl script that would open the dir of the users, and send an email to each name that was a name of one of the directories and I guess it appened the @domainname.com on the end. In other words, I could have a file on the system that I needed to send and I ran a script that sent this file to each customer we had as if they were the only ones to receive it. I'm not sure how to recreate this.

Php Mailing List-> Performance
i wrote a php script that sends mail to a list of email generated from a database.
this database contains about 8000 email adresses and depending on what the users chose in their preferences it sends out mail accordingly. in general this would come down to roughly 6000 emails per list.

the script iterates through the list of email addresses and send out a new email to every email address found that fits the mailing type. the box doing this is an athlon 1400Mhz.

now, my question, how heavy will this be for sendmail? i can imagine that this will take some time before all 6000 emails have been send. php is set in the ini to time out after 30 seconds and maybe this script will be running for longer than that with 6000 emails to send. i could test this but i dont think all of those people would be very happy receiving test emails.

also, i could send just one mail with all those email addresses stuffed into the Bcc header but i dont know if that would make difference and if the php mail() function likes 6000 mail addresses in the Bcc header. anyone with experience with sending large volumes of mail like this have some advice for me?

Php Mailing List Operation
I'm using the mail() function to send out newsletters to subscribers,
problem is that it seems a little unreliable...
at the moment I assemble the mail outside a loop then iterate through
all the mail addresses
for($i=0;$i<$numaddresses;$i++){
mail($to[$i],$subj,$message,$fromstr);
}
should i be putting in a delay message or a retry_on_fail method or
anything?

Mailing Lists Under Apache
I must develop mailing lists under Apache but I don't know how to do this, so, if someone knows how to do this.

Mailing A Encrypted Password
I was having trouble emailing an encrypted password. The password is stored with the password option so it gets encrypted. I then lookup the password and email it using php3, but the password shows as encrypted. How do you decrypt it? I tried playing with the decrypt command but with no luck.

Best Ways For Mass Mailing
I would like to understand which are the best ways to send bulk
mailings like for newsletters and so on ( not spamming, always to
receivers who opt-in ).

I am not looking for code for now , I have found some very interesting
classes and I also have my own scripts, I just want to know all the
options available and why one is better of another .

So, if have to send just a few copies to, say, less than one hundred
people I can use the mail function, If I have to send , say, 20
thousand emails I will have to hire dedicated mail servers, but what if
I have to deliver a few hundreds emails ?
What is usually the max limit using my shared hosting before moving to
a dedicated mail server ?

What is the best way ? maybe splitting the delivery in batches using
the default mail ( sendmail ) or by SMTP ?

Subscription Mailing List
Im building my first php site and what im looking for is a simple
tutuorial / example of a form which allows users to enter their email
address, which is stored in my Mysql db.

Also need to know how to go about mailing everyone who subscribes to
my news letter.

I know its probably quite simple, but i'd like to check for duplicate
email addresses, verify email addresses (dont know if that possible)
and allow them to un-subcribe.

Mailing List Using MySQL / PHP
I have written a database which uses PHP to run through each ID in the
database and then generate a persons name and address to include into the
rest of the PHP to send an email out.

But as people have deleted or updated their details on this mailing list, I
now have "holes" in database. Ordinarily not a problem, but the code I've
written starts at ID 1 and after sending an email increments to the next
ID. But when it encounters a now vacant ID, it sends an error email to me
associated with that now blank ID row of data.

How can I change my code that will increment through all the results in
turn, but not give me these error emails when people have amended the
database?

Mailing List Script
Where I can find siple mailing list written in php and mysql ?

Timeout Mailing List?
i heave a mailing list with just over 700 people on it. on page one i have a form for newsletter to be typed in, then the person submits the form and the next page has the php to send out the newsletter to all the email addresses in the database.

my problem is that the page times out and an connection error occurs, so i don't think everyone in the list gets emailed. how do i get around this problem?

Mailing Information In An Array
How would you go about using this information here to mail the what is instead being printed out PHP Code:

Php Mailing List Script
I need a php mailing list script, can anyone recommend one? preferably OS if possible.

Mailing Form - Can't Get It To Send
I tried going through your sample code and that didn't work either. If a field isn't filled out properly the error message comes up as intended, and after I submit the form it redirects me to the correct website as intended. However, the email of the form information is never being sent back to me. Code:

Dynamic Mailing List?
I have a schedule of people that need reminders sent to them weekly.  I have figured out how to set a Crontab to send the reminder automatically ... but the people are not the same every week.  I know that I could build multiple scripts and hard code the email addresses, setting a cron job for each - but is there any way to build ONE script that will read a text file based on the date and pull the names/email addresses off of that? 

Making A Mailing List
I have tons of members on my website, and I want to e-mail them all, but I do not want add all their names to a address book or e-mail them individually.

So I was wondering after I flush(Erase) the database, when the user register the "script" will auto adds them to a mailing list, so I can download the mailing list and add it to my address book and e-mail them all at once.

If there is a script already out there, can I have it?

Class For Easy Smtp Mailing?
does anyone know a php class for easy smtp-sending? Class would only need to be able to send textmails and should be really easy for a guy like me (not much php knowledge) to be integrated...

Trouble With Mailing A Form Submission
I recently had to move all my php pages and MySQL db to a new server and may have overlooked a setting or two in the php.ini or somewhere else. This form worked up until the move. Here's the code:

Key Code Generation For Mailing List
I want to send a unique url to each member of my mailing list for mailing list removal purposes. I see this done all the time, but I'm not sure how they do it. I want the user to click on the link at the bottom of their email, which takes them to a page where they confirm there removal from the list.

It doen't have to be super secure, its just a personal site, I just don't want idiots going in and guessing random addressess trying to get them removed from the list.

Remove From Mailing List Via Variables In URL
i have often joined other mailing lists and i notice that when emails are sent out there is usually an option to delete your email from the mailing list.

i was wondering which is the best way to go about this. would it be a matter of sending a link in the email which is something like...

http://wwwmysite.com/deletemail.php?somebody@somewhere.com

deletemail.php being a simple script that takes that email addy and deletes it from the database? or is there a better way to do it?


Copyright © 2005-08 www.BigResource.com, All rights reserved