arfa Posted September 12, 2006 Share Posted September 12, 2006 I have the idea that sending bulk mail in batches is the thing to do. Script timing out [max_input_time ?], spam, and such. About 500 on the mail list. I send in lots of 100.Are batches a good idea?Not necessary?Other thoughts?Attachments:I have got the script sending an attachment - in a single batch loop.But, from the PHP manual>> file will be deleted from the temporary directory at the end of the request...I presume this means the end of the first batch.So, I hesitate to charge off exploring alternatives without your guidance. My script hand is slow and debugging can be tediously slow - especially with mail script as it can only be done on-line and I am on 36k dial-up at the moment.My first thought is to literally upload the file to my server and unlink on completion of the last batch .Set me on the path of righteousness my friends ! ;Dthanks Link to comment https://forums.phpfreaks.com/topic/20492-bulk-mail-attachment-in-a-loop/ Share on other sites More sharing options...
ToonMariner Posted September 12, 2006 Share Posted September 12, 2006 Forking...[url=http://www.phpfreaks.com/tutorials/71/0.php]http://www.phpfreaks.com/tutorials/71/0.php[/url] Link to comment https://forums.phpfreaks.com/topic/20492-bulk-mail-attachment-in-a-loop/#findComment-90329 Share on other sites More sharing options...
kenrbnsn Posted September 12, 2006 Share Posted September 12, 2006 I would reccomend NOT using PHP for this task. Investigate a true mailing list program.One that is designed to send email and has been debugged already.If you're using a shared host machine running Linux there is probably one installed already that you can use. Check with you're hosting provider.Ken Link to comment https://forums.phpfreaks.com/topic/20492-bulk-mail-attachment-in-a-loop/#findComment-90340 Share on other sites More sharing options...
arfa Posted September 13, 2006 Author Share Posted September 13, 2006 Greetings Ken,Nice to have a very clear 'NOT'.I would very much appreciate an expansion of your thoughts.Part of the process here is one of learning. The how and why.Certainly PHP can mail and can send attachments. What are the limitations?Too slow, too risky, unreliable...?I am not so proud as to use a pre-made script but I would like to know why I might mess up with my own.I hope you have the time to reply.Thanks Link to comment https://forums.phpfreaks.com/topic/20492-bulk-mail-attachment-in-a-loop/#findComment-90788 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.