LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Problems / Notification are identified as SPAM
Posted:  15 Mar 2015 12:04   Last Edited By: Roel B.
Luxcal is a great calendar, thanks a lot !

A little problem :
When Luxcal 3.2.3 send notification with mail SMTP, the mail is classed as SPAM by spamassasin.
The cause is : the headers has no date.
So I have modified the file : common/toolbox.php at line 375 :

    } elseif ($set['mailServer'] == 2) { //mail via SMTP server
// suppr        $headers = 'MIME-Version: 1.0'."\r\n".'Content-type: text/html; charset=utf-8';
// add this 2 lines :
        $date_header = date(DATE_RFC2822);
        $headers = 'MIME-Version: 1.0'."\n".'Content-type: text/html; charset=utf-8'."\n".'Date: '.$date_header;
// no changes
        if (!smtpMail($from,$recipList,$subject,$message,$headers)) { // send SMTP mail
            return false;

Best regards

PS : excuse me for my bad english...
Posted:  16 Mar 2015 09:32
Hi TS,
Thanks for reporting this quirk. We will add the fix to the next LuxCal version.