Re: [PHP] PHP and email

2005-11-23 Thread Manuel Lemos
Hello, on 11/24/2005 11:38 AM Angelo Zanetti said the following: Thanks to those who have replied so far, yes our main concern is the smtp server falling over or dying. So to come back to John Nichel's answer: John, have you done this personally and I assume the effects were good?? IE everyt

Re: [PHP] PHP and email

2005-11-23 Thread John Nichel
Angelo Zanetti wrote: John Nichel wrote: Angelo Zanetti wrote: Hi I have a dedicated server in the states. I need to send about 8000 emails (once off). There pretty small +- 5KB. so I want to write a php script and run it from the command line in the background. I was thinking of sendi

RE: [PHP] PHP and email

2005-11-23 Thread Jim Moseby
> > John Nichel wrote: > > Angelo Zanetti wrote: > > > >> Hi > >> > >> I have a dedicated server in the states. > >> > >> I need to send about 8000 emails (once off). There pretty > small +- 5KB. > >> > >> > >> so I want to write a php script and run it from the > command line in > >> the back

Re: [PHP] PHP and email

2005-11-23 Thread Angelo Zanetti
John Nichel wrote: Angelo Zanetti wrote: Hi I have a dedicated server in the states. I need to send about 8000 emails (once off). There pretty small +- 5KB. so I want to write a php script and run it from the command line in the background. I was thinking of sending 50 emails then waitin

Re: [PHP] PHP and email

2005-11-23 Thread John Nichel
Angelo Zanetti wrote: Hi I have a dedicated server in the states. I need to send about 8000 emails (once off). There pretty small +- 5KB. so I want to write a php script and run it from the command line in the background. I was thinking of sending 50 emails then waiting 90 seconds then send

Re: [PHP] PHP and email

2005-11-23 Thread Rory Browne
On 11/23/05, David Grant <[EMAIL PROTECTED]> wrote: > Hi Angelo, > > Why not send them all in one go? If you want to reduce server load, you > should perhaps adjust the 'nice'ness of the script. Because niceness would only affect the script itself and not any smtp servers it comes across along th

Re: [PHP] PHP and email

2005-11-23 Thread David Grant
Hi Angelo, Why not send them all in one go? If you want to reduce server load, you should perhaps adjust the 'nice'ness of the script. If you do the following: nice --adjustment=19 ./script.php Your script will run in the background and use only spare resources. Cheers, David Grant Angelo Z

[PHP] PHP and email

2005-11-22 Thread Angelo Zanetti
Hi I have a dedicated server in the states. I need to send about 8000 emails (once off). There pretty small +- 5KB. so I want to write a php script and run it from the command line in the background. I was thinking of sending 50 emails then waiting 90 seconds then sending again. Or the sa

[PHP] php and email

2004-03-23 Thread Steven Mac Intye
Hi all, Im wondering if anyone can help me with this "problem" I have a form with the following line of code; $message .= "http://127.0.0.1/devsite/activate.php?member=$realname&hash=$initPass\";>Click here to activate\n"; What I actually get is the following output; Click here to activate Y

Re: [PHP] PHP and email attachments

2004-01-22 Thread David T-G
Radith -- ...and then Raditha Dissanayake said... % % >I get over a % >thousand emails a day (29382 so far this month). When I get an important ... % not to mention the countless mails we recieved from you a couple of % months ago on this mailing lists topic in both the PHP and the qmail % lis

Re: [PHP] PHP and email attachments

2004-01-22 Thread Raditha Dissanayake
I get over a thousand emails a day (29382 so far this month). When I get an important email that requires me to drag out the web browser, it immediately becomes pretty unimportant. not to mention the countless mails we recieved from you a couple of months ago on this mailing lists topic in both

Re: [PHP] PHP and email attachments

2004-01-22 Thread David T-G
Tim, et al -- ...and then Tim Thorburn said... % % Hi, Hi! % % A client of mine asked today if I could setup their current mass mailer to % send out attachments - I've never sent attachments with the mail() function % before, but before we get into that ... I wanted to ask an opinion of the

Re: [PHP] PHP and email attachments

2004-01-21 Thread Raditha Dissanayake
Hi, You are dead right about not sending an attachment in the mail. Sure way to get yourself into the bad books. TO send attachements with simple old mail you have to make it into a MIME message there are classes in PEAR and some more at phpclasses that does just that. Finally if you are sendi

Re: [PHP] PHP and email attachments

2004-01-21 Thread John Nichel
Tim Thorburn wrote: Hi, A client of mine asked today if I could setup their current mass mailer to send out attachments - I've never sent attachments with the mail() function before, but before we get into that ... I wanted to ask an opinion of the group. Would it not be better, rather than s

[PHP] PHP and email attachments

2004-01-21 Thread Tim Thorburn
Hi, A client of mine asked today if I could setup their current mass mailer to send out attachments - I've never sent attachments with the mail() function before, but before we get into that ... I wanted to ask an opinion of the group. Would it not be better, rather than sending a file out to