|
Posted by Manuel Lemos on 09/20/07 05:35
Hello,
on 09/17/2007 10:12 AM Lucanos said the following:
> I am currently using PHPMailer to send out a set of emails on the
> execution of a PHP Script (obviously).
> My problem is that the PHPMailer action is returning a "true" result
> each time it is executed, but not every email generated by this action
> is actually being sent.
>
> My account is hosted on HostMonster, and is pointed at the localhost
> as the SMTP server.
> I use two email list groups - one has 18 listed recipients (and sends
> between 6 and 18 actual emails) and the other has 65 recipients (and
> sendd between 7 and 26 emails).
>
> Initially the script created a new object for each email (sending them
> out as one email per recipient at the moment), and currently I am
> using the same object repeatedly (just changing the To address for
> each execution), but the fault was evident in each configuration.
>
> I am monitoring the performance of this script by BCCing a copy to a
> dropbox, which is where I am getting the actual email counts from.
>
> Anyone had a similar experience? Anyone seeing any possible fixes
> which I cannot currently see?
I don't know what could be wrong because I do not use PHPMailer, but
maybe it is not composing the messages properly for the recipients that
are not getting the messages.
Anyway, I use this other popular MIME message class which takes care of
properly encoding messages to avoid situations that could make the
messages being discard by some mail programs and servers. You may want
to try it and let me know if you still have the same problems.
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
[Back to original message]
|