2014-10-22, 05:42 PM
I've searched the repository but it seems like there is no issue filed for this.
When sending an e-mail to a user via their profile, the From and Reply-To e-mail fields are not filled correctly, causing servers respecting the SPF policy not to send the e-mail message (The From address has to belong to a domain [server] the e-mail is being sent from).
https://github.com/mybb/mybb/blob/featur....php#L2822:
The board's main mailing address should be used instead of $from, which should be passed to the last argument.
It relates to a previously described problem: http://community.mybb.com/thread-161691.html
When sending an e-mail to a user via their profile, the From and Reply-To e-mail fields are not filled correctly, causing servers respecting the SPF policy not to send the e-mail message (The From address has to belong to a domain [server] the e-mail is being sent from).
https://github.com/mybb/mybb/blob/featur....php#L2822:
my_mail($to_user['email'], $mybb->get_input('subject'), $message, $from, "", "", false, "text", "", $mybb->input['fromemail']);
4th argument of my_mail() is the From field and the last one is the Reply-To field.The board's main mailing address should be used instead of $from, which should be passed to the last argument.
It relates to a previously described problem: http://community.mybb.com/thread-161691.html