Re: [PHP] Sending lots of emails - 2 choices - choose the best one
- From: marek@xxxxxxxxxxxxxx (marek)
- Date: Tue, 09 Oct 2007 09:44:18 -0400
The other possible question you might want to ask is:
How will the message be formatted and sent... some services such as hotmail will flag the message as spam based on the multiple mail deliveries when used option #2. And there are also many other considerations related to spam.
Instead what you could consider doing:
Option #3)
Write a subroutine that would group recipients based on host, and send one mail to each host with bcc. Also I would not use the internal mail function, instead I would try a full smtp class, especially when using mime that has built in support for services such as hotmail, yahoo, etc. Whenever we send email list to hotmail users I format the message differently then when we send to yahoo, and so on .... I would avoid allowing sendmail to handle the function of grouping ...
Hope it helps...
Marek
Philip Thompson wrote:
On 10/7/07, Stut <stuttle@xxxxxxxxx> wrote:.
Martin Zvarík wrote:
Hello--Why are you sending mail to 100+ recipients? Is it something you do
I want to send email to 100+ recipients. Two choices I thought of:
1) once call mail() and use BCC, but the negative of this method is that
every recipient in BCC has header "To" same (so I used to put my email
in here - not email of one of the recipients).
2) several calls to mail() function with each recipient's emal
often? Is it always the same recipients? When are you sending them?
If it's a mailing list use mailing list software as Daevid suggested -
it's what it's for!
I would recommend avoiding the use of BCC from PHP.
-Stut
Why avoid Bcc from PHP?
~Philip
- References:
- Sending lots of emails - 2 choices - choose the best one
- From: Martin Zvarík
- Re: [PHP] Sending lots of emails - 2 choices - choose the best one
- From: Stut
- Re: [PHP] Sending lots of emails - 2 choices - choose the best one
- From: "Philip Thompson"
- Sending lots of emails - 2 choices - choose the best one
- Prev by Date: Re: [PHP] Beginner Tutorials for using CLASSES in PHP4
- Next by Date: Re: [PHP] Chmod a Directory
- Previous by thread: Re: [PHP] Sending lots of emails - 2 choices - choose the best one
- Next by thread: mySQL Results To XML
- Index(es):
Relevant Pages
|