[PHP] Re: Best way to mass mail

2005-09-13 Thread Joshua May
You have to be careful, though, because I had this problem.. I had PHP running as a CGI on the host with Apache, and Apache had a nasty habit of terminating the CGI communicationg before PHP had finished mailing everyone, even if set_time_limit(0); was set (well, even if

[PHP] Re: Best way to mass mail

2005-09-12 Thread Mark Rees
Ryan A [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, My client has a dating site and now he wants to mail all his members, he does not want to use any of the already installed mailing lists but wants us to make one for him, he's on a dedicated server. Presently he does not

[PHP] Re: Best way to mass mail

2005-09-12 Thread Matthew Weier O'Phinney
* Ryan A [EMAIL PROTECTED]: My client has a dating site and now he wants to mail all his members, he does not want to use any of the already installed mailing lists but wants us to make one for him, he's on a dedicated server. Presently he does not have too many members, just a few thousand

[PHP] Re: Best way to mass mail

2005-09-12 Thread Manuel Lemos
Hello, on 09/12/2005 10:50 AM Ryan A said the following: The thing that bothers me the most is if the program times out..., how do I start again from the ones that have not been sent? Use set_time_limit(0); and your script will never timeout. Anyway, long standing scripts should be run off

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Ryan A
Hey, Thanks Mark, Matthew, Manuel and Miles. (Yep, even i thought it was quite funny how only ppl with their firstnames that start with M replied :-D , sounds almost like I will be quoting the bible next!) You guys have given me some very good starting points, will look into it. Feel free to

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Matthew Weier O'Phinney mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 6:55 AM said: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't know how to do. Can you explain/show some code? Thanks, Chris. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Manuel Lemos
Hello, on 09/12/2005 02:56 PM Chris W. Parker said the following: Matthew Weier O'Phinney mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 6:55 AM said: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't know how to do. Can you explain/show some

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Matthew Weier O'Phinney
* Manuel Lemos [EMAIL PROTECTED] : Hello, on 09/12/2005 02:56 PM Chris W. Parker said the following: Matthew Weier O'Phinney mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 6:55 AM said: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Manuel Lemos
Hello, on 09/12/2005 05:18 PM Matthew Weier O'Phinney said the following: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't know how to do. Can you explain/show some code? Just use the mail function and it will get queued in Postfix. Or mail via SMTP to

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Manuel Lemos mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 1:36 PM said: If he is running postfix on the same machine that postfix is running, it does not make much sense to send the message via SMTP because it is a much slower way to do the same thing. I'm not. I was hoping to

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Manuel Lemos
Hello, on 09/12/2005 06:30 PM Chris W. Parker said the following: Manuel Lemos mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 1:36 PM said: If he is running postfix on the same machine that postfix is running, it does not make much sense to send the message via SMTP because it

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Manuel Lemos mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 2:41 PM said: If you use the mail() function, it uses whatever is installed in your machine because by default it calls the sendmail program. I am aware of that but the problem I'm having is inconsistent mailings. For

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Manuel Lemos
Hello, on 09/12/2005 06:48 PM Chris W. Parker said the following: If you use the mail() function, it uses whatever is installed in your machine because by default it calls the sendmail program. I am aware of that but the problem I'm having is inconsistent mailings. For example, an email is

RE: [PHP] Re: Best way to mass mail

2005-09-12 Thread Chris W. Parker
Manuel Lemos mailto:[EMAIL PROTECTED] on Monday, September 12, 2005 3:15 PM said: If you use PHP mail() function it just calls the sendmail wrapper. If you loose messages, you should check the logs of the installed MTA. Your problem seems to be misconfiguration like you are not setting a

Re: [PHP] Re: Best way to mass mail

2005-09-12 Thread Matthew Weier O'Phinney
* Manuel Lemos [EMAIL PROTECTED] : on 09/12/2005 05:18 PM Matthew Weier O'Phinney said the following: Mails are then queued to an MTA -- in our case, Postfix. This is the part I don't know how to do. Can you explain/show some code? Just use the mail function and it will get queued