hi all,
I find a little bug when the system send out emails via PHP mail() funcion
the date field in the header is misconfigured! for rule RFC2822
there is a "blankspace" more...
on line 162 of file class.email.php in /include directory you find:
'Date'=>date("D , d M Y H O"),
this space after the letter "D" create some problems in some SMTP server to above all in the anti-spam filter!
replace that with:
'Date'=>date("D, d M Y H O"),
you recieve 2.2 points only for this INVALID_DATE (spam-assassin)
to resolve remove the space or replace the file I have attached to this post that fix this problem in the directory /include on your webserver!
I think it will be appreciate..
cya
Gab :)
[class.email.zip](https://forum.osticket.com/assets/files/migrated/7/7abc1cbfbe1830f26ba6dfd8f532039.zip)