Re: PHPMailer - False Positives



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/
.



Relevant Pages

  • Re: [PHP] PHP console script vs C/C++/C#
    ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... This is why I am thinking about rewriting my whole script in a C language. ... Perhaps there are different methods I could be using to speed up execution. ...
    (php.general)
  • Re: [PHP] PHP console script vs C/C++/C#
    ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... thinking about rewriting my whole script in a C language. ... execution of the code. ...
    (php.general)
  • Re: function sleep() in all versions of PHP
    ... The reasoning behind this is behind the definition of vulnerability, ... I am of the opinion that PHP is the one providing ... processes in the process tree from the current script execution to ... "max_execution_time only affect the execution time of the script itself. ...
    (Bugtraq)
  • PHPMailer - False Positives
    ... My problem is that the PHPMailer action is returning a "true" result ... I use two email list groups - one has 18 listed recipients (and sends ... Initially the script created a new object for each email (sending them ... each execution), but the fault was evident in each configuration. ...
    (comp.lang.php)
  • Re: PHP Cancel Script Execution
    ... (execution time approximately 5 minutes) ... I want to be able to cancel everything if I hit the browser ... things the script continues processing. ... I am using PHP 5.25, Oracle 10G, PHP ADODB Classes, and Internet ...
    (comp.lang.php)