Re: [PHP] SMTP vs mail()
- From: ceo@xxxxxxxxx ("Richard Lynch")
- Date: Mon, 14 Jan 2008 12:22:52 -0600 (CST)
On Sat, January 12, 2008 4:28 am, Richard Heyes wrote:
Assuming you're talking delivery to a local MTA (which willFor the amount of email I'm looking at (1000s, growing), yes.
subsequently do the remote delivery), is speed really important?
Hmm, that's not quite what I was thinking of. The amount of emails
to
be delivered does not in my opinion affect how fast it needs to
happen.
Your local MTA will take a while to deliver those emails anyway, so
the
time from script to user is mostly dependent on that, which means
you're left with reducing the time from script to MTA. If you need
to
finish the script fast (in order for some user-intercation to
continue
perhaps), I would would just detach the script and carry on.
Sorry, yes the time of delivery is not so important as the time to
pump
the messages to the MTA. As long as the MTA has them and they get
delivered in a reasonable time frame I'm happy. The application is all
about mail delivery and the script has to return immediately, so I'll
be
launching a separate process to insert the addresses into a minimal
"mail_queue" table in my db, and then a 5 minutely cron script which
will pass them to the MTA.
If there's any way to re-configure the MTA to queue the messages for
later sending, that would save you a lot of overhead on the PHP end...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?
.
- Follow-Ups:
- Re: [PHP] SMTP vs mail()
- From: Per Jessen
- Re: [PHP] SMTP vs mail()
- References:
- SMTP vs mail()
- From: Richard Heyes
- Re: [PHP] SMTP vs mail()
- From: Per Jessen
- Re: [PHP] SMTP vs mail()
- From: Richard Heyes
- Re: [PHP] SMTP vs mail()
- From: Per Jessen
- Re: [PHP] SMTP vs mail()
- From: Richard Heyes
- SMTP vs mail()
- Prev by Date: Re: [PHP] Posting Summary for Week Ending 11 January, 2008: php-general@lists.php.net
- Next by Date: Re: [PHP] Posting Summary for Week Ending 11 January, 2008: php-general@lists.php.net
- Previous by thread: Re: [PHP] SMTP vs mail()
- Next by thread: Re: [PHP] SMTP vs mail()
- Index(es):
Relevant Pages
|
|