[Duplicate] Confused From/Reply-To fields when mailing a user
#1
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:
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
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#2
Yes I agree. I believe the same thing applies to the contact page, right? We should include the user's e-mail at the top of the message instead.
All my plugins are available for free at MyBB Extend and on my GitHub. MyBB-Plugins.com has been closed and none of my plugins are officially maintained or supported.
Reply
#3
I agree, it is confusing.
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#4
Another problem - for example gmail moves emails automatically into spam folder or shows that this email is not send from ...
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#5
https://github.com/mybb/mybb/issues/257 So marking as duplicate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)