2009-09-17, 08:14 PM
Hello!
Today I noticed some MyBB mails are thrown into the Junk folder with Live mail users. If you are on a shared host this might interest you: when MyBB sends a mail it assumes the server hostname is the same as your website's name. This isn't true at shared hosts. If you are experiencing the same problem try commenting out line 308 from /inc/class_mailhandler.php so it will look like this:
Doing this will cause most popular mailservers (Exim) to generate a Message-ID by theirselves which is probably more correct. Proper mail headers are really important for Live Mail.
Commenting this out immediately got the mail in my Inbox. Also be sure to set up correct SPF records, preferably with '-all' at the end.
Cheers!
Today I noticed some MyBB mails are thrown into the Junk folder with Live mail users. If you are on a shared host this might interest you: when MyBB sends a mail it assumes the server hostname is the same as your website's name. This isn't true at shared hosts. If you are experiencing the same problem try commenting out line 308 from /inc/class_mailhandler.php so it will look like this:
//$this->headers .= "Message-ID: <{$msg_id}>{$this->delimiter}";
Doing this will cause most popular mailservers (Exim) to generate a Message-ID by theirselves which is probably more correct. Proper mail headers are really important for Live Mail.
Commenting this out immediately got the mail in my Inbox. Also be sure to set up correct SPF records, preferably with '-all' at the end.
Cheers!