MyBB Tutorials

Fix for MyBB emails going to spam box

Submitted by HaVoK, , Thread ID: 18645

Thread Closed
HaVoK
Member
Level:
1
Reputation:
7
Posts:
160
Likes:
91
Credits:
117
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

Finn
Root@NBB:-$
Prime
Level:
1
Reputation:
11
Posts:
113
Likes:
5
Credits:
0
29-02-2016, 06:13 AM
#2
Thank you for this man.

RE: Fix for MyBB emails going to spam box

HaVoK
Member
Level:
1
Reputation:
7
Posts:
160
Likes:
91
Credits:
117
OP
29-02-2016, 06:49 AM
#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

cute
Married to Yuun
Vixen
Level:
4
Reputation:
50
Posts:
523
Likes:
92
Credits:
1.09K
29-02-2016, 07:19 AM
#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

NSA
) )
Supreme
Level:
0
Reputation:
93
Posts:
1.74K
Likes:
114
Credits:
459
29-02-2016, 08:12 AM
#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

JumpingJack
Member
Level:
0
Reputation:
9
Posts:
141
Likes:
6
Credits:
6
29-02-2016, 10:48 AM
Warned
#6
Thanks will try it.
thanks for sharing.

RE: Fix for MyBB emails going to spam box

zGeek
Aokie
Prime
Level:
0
Reputation:
26
Posts:
782
Likes:
60
Credits:
1.46K
29-02-2016, 12:48 PM
#7
Not worth it. Seriously, stop sending mail from your backend.

RE: Fix for MyBB emails going to spam box

HaVoK
Member
Level:
1
Reputation:
7
Posts:
160
Likes:
91
Credits:
117
OP
29-02-2016, 05:36 PM
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

NSA
) )
Supreme
Level:
0
Reputation:
93
Posts:
1.74K
Likes:
114
Credits:
459
29-02-2016, 06:16 PM
#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

BebeGFX
Junior Member
Level:
0
Reputation:
0
Posts:
72
Likes:
11
Credits:
48
02-05-2016, 11:50 PM
#10
nice man, thanks bro
CONTACT:
YAHOO: Bebe.MDFK
STEAM: yo_yonutzy2010

Users browsing this thread: 1 Guest(s)