MyBB Tutorials

Fix for MyBB emails going to spam box

Submitted by HaVoK, , Thread ID: 18645

Thread Closed
24-02-2016, 02:18 AM
#1
If all of your emails, sent from php mail, or sendmail, are being put straight into the spam box, the way I fixed it was by changing line 318 in inc/class_mailhandler.php from :
Content locked
This content has been locked. Please login or register in order to unlock it.

Now all of the mail, whether it be a user emailing another user, or a mass email, will go to the inbox, rather than the spam box.

RE: Fix for MyBB emails going to spam box

#2
Thank you for this man.

RE: Fix for MyBB emails going to spam box

OP
#3
29-02-2016, 06:13 AM
Finn Wrote:
Thank you for this man.

No problem, enjoy.

RE: Fix for MyBB emails going to spam box

#4
Quote:Now all of the mail, whether it be a user emailing another user, or a mass email, will go to the inbox, rather than the spam box.

Worth noting that this isn't guaranteed.
[Image: ZtDsXXv.png]

RE: Fix for MyBB emails going to spam box

#5
But Gmail will mark it as spam if the SMTP server the mail is coming from is not proper. And something tells me that changing a line in a PHP file is not going to change a SMTP servers settings.
xxx

RE: Fix for MyBB emails going to spam box

Warned
#6
Thanks will try it.
thanks for sharing.

RE: Fix for MyBB emails going to spam box

#7
Not worth it. Seriously, stop sending mail from your backend.

RE: Fix for MyBB emails going to spam box

OP
This post was last modified: 29-02-2016, 05:40 PM by HaVoK
#8
29-02-2016, 07:19 AM
Senpai Wrote:
Quote:Now all of the mail, whether it be a user emailing another user, or a mass email, will go to the inbox, rather than the spam box.

Worth noting that this isn't guaranteed.

May work for some, but for those that can't afford another server it works for now. In addition and off topic, but fuck your avatar. Everytime I am on the index I just star at it.

29-02-2016, 08:12 AM
NSA Wrote:
But Gmail will mark it as spam if the SMTP server the mail is coming from is not proper. And something tells me that changing a line in a PHP file is not going to change a SMTP servers settings.

This method fixes the whole gmail issue.


29-02-2016, 12:48 PM
zGeek Wrote:
Not worth it. Seriously, stop sending mail from your backend.

I do agree, but this method fixes the whole spam box for those that can't afford an additional server.

RE: Fix for MyBB emails going to spam box

#9
29-02-2016, 05:36 PM
HaVoK Wrote:
29-02-2016, 07:19 AM
Senpai Wrote:
Quote:Now all of the mail, whether it be a user emailing another user, or a mass email, will go to the inbox, rather than the spam box.

Worth noting that this isn't guaranteed.

May work for some, but for those that can't afford another server it works for now. In addition and off topic, but fuck your avatar. Everytime I am on the index I just star at it.

29-02-2016, 08:12 AM
NSA Wrote:
But Gmail will mark it as spam if the SMTP server the mail is coming from is not proper. And something tells me that changing a line in a PHP file is not going to change a SMTP servers settings.

This method fixes the whole gmail issue.


29-02-2016, 12:48 PM
zGeek Wrote:
Not worth it. Seriously, stop sending mail from your backend.

I do agree, but this method fixes the whole spam box for those that can't afford an additional server.

No it won't. Not with a badly configured SMTP server.
xxx

RE: Fix for MyBB emails going to spam box

#10
nice man, thanks bro
CONTACT:
YAHOO: Bebe.MDFK
STEAM: yo_yonutzy2010

Users browsing this thread: 4 Guest(s)