Hello,
Since I installed Qmail Scanner and ClamAV on my Plesk 9 installation (and even before update to 9.2.1), I noted that local email delivery from PHP (via mail() function, so sendmail) has got a strange behaviour...
It seems that those mail are broken.
For example, IMP doesn't understand that they're HTML encoded, and Thunderbird/Outlook manage them as SPAM (also the content is broken).
The strangest thing: if I use the same code to send emails to external email addresses, the format is perfect (I tried on different external hosts with different mail clients).
Seriously, I don't really get where to look...
Anybody got an idea?
THANKS!
Qmail Scanner - Local HTML emails seems to be broken
-
- Forum User
- Posts: 26
- Joined: Wed Feb 11, 2009 7:42 am
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Qmail Scanner - Local HTML emails seems to be broken
It could be that your code for sending mail isn't following the mime standards correctly. If I remember correctly you have to terminate the line with \n. If you use windows to edit the file, it will add a \r or ^M after that and you'll break the mime format.
-
- Forum User
- Posts: 26
- Joined: Wed Feb 11, 2009 7:42 am
Re: Qmail Scanner - Local HTML emails seems to be broken
Yep, you're right, and I already corrected this bug once...
In fact, I put the latest version (5.0) of PHPMailer and everything works fine with this library!
My last problem is with the magento newsletter... I'm still searching!
In fact, I put the latest version (5.0) of PHPMailer and everything works fine with this library!
My last problem is with the magento newsletter... I'm still searching!
Re: Qmail Scanner - Local HTML emails seems to be broken
I finally found a solution for Magento, it was definitely NOT LINKED to qmail-scanner...
So sorry for thinking of it!
My solution is explained here (in french):
http://support.oxegena.ch/index.php?200 ... g-php-spam
It simply helps Magento to create nice HTML emails with boundaries!
So sorry for thinking of it!
My solution is explained here (in french):
http://support.oxegena.ch/index.php?200 ... g-php-spam
It simply helps Magento to create nice HTML emails with boundaries!