FIXED
Ok, from a posting by Bosh, 18th of November 2008 ....
I grabbed the new version of phpMailer and followed what Bosh did - and it now works.
The phpmailer class that comes with the distribution is ANCIENT.
Firstly - check if your system is using php4 or 5. If using 5, install the new bits. Piece of cake - couldn't be easier.
If you are using php4, don't know. There is a new mailer for php4 on the same sourceforge site anyw2ay. OWuldn't hurt to upgrade.
Thanks Bosh. you're a legend.
OK peeps,
I''ll tell you I've found out so far and what I've done about it. I'm not saying
the issue has gone away yet but now Nochex receives whats being sent, whatever
that is because is complains with a wrong "email address" or "Merchant ID". But
that should be fixable.
Fistly, I examined the code /include/classes/class.phpmailer.php. The first thing
that struck me was - it's old and it really shouldn't be sitting ontop of PHP 5.x.x.
Your host is using PHP 5.x.x aren't they, perhaps you should move.
Anyway I went here; phpmailer.codeworxtech.com/index.php
and downloaded PHPMailer for PHP5/6 and unzipped/tar'd them into a tempory directory.
Secondly, after doing a few eyeball checks (I'm not that cavalier), I did
this ...
1. replaced - /include/classes/class.phpmailer.php
2. replaced - /include/classes/class.smtp.php
3. added - /include/classes/class.pop3.php
also in /include/classes/support/ I replaced all the language files provided
in the download. Although I only needed the English one, I like to be consistant.
Now, as I said, more testing is required on the PHP side before I'm satisfied and
it's unlikely I'll be using SMPT so I won't be testing that. Perhaps someone
else who requires SMPT would undertake that and provide some feedback for others
who might want to use it
As for myself, when I'm satisfied with my testing I'll tell you here whether
its broken anywhere or that its all OK.
hope this helps - if I find any problems I'll see if I can fix them and post the solution. Hopefully this one is fixed.
Bookmarks