> Also, when you're using php's mail function or phpmailer, it is preferable[color=blue]
> (from a speed perspective) to call the sent function once with a big[/color]
to-list[color=blue]
> rather than call the send function multiple times within a loop.[/color]
I considered this solution (with bcc instead of to) but I need some
personalisation (see below).
[color=blue]
> Doing the latter will open and close your connection to the mail server
> slowing things down considerably.
>
> Doing it once will mean that you lose the personalisation options (Dear
> $Firstname $Lastname), but I guess this might be acceptable is your
> preference is for speed.[/color]
Actually, I don't need personalisations like dear $firstname $lastname, but
in my application, each subscriber gets an id and a key which allows him to
unsubscribe from the newsletter. And I need to send that key with the
newsletter in order to know that the user asking to unsubscribe is really
himself.
Otherwise he would send an unsubscribe request, receive a mail to confirm,
and then be unsubuscribed when the application received the confirmation,
which is a little heavy.
[color=blue]
> Also, for phpmailer (which I also highly recommend), see the performance
> questions in the FAQ here for more tips:
>
http://phpmailer.sourceforge.net/faq.html#faq4[/color]
I'll have a look at that link
Thanks a lot
Nicolas