News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Outgoing email messages have stopped!

Started by David8, January 18, 2011, 01:11:45 PM

Previous topic - Next topic

David8

My SMF 2.0 RC4 board has stopped sending out email messages and notifications.  I have tested my host with a simple PHP script and the host PHP mail() function is working fine.

I see no errors in the error log related to the problem. 

I normally have the mail queue disabled.  If I enable it, email messages show up in the queue correctly.  If I click on [Send Mail Queue Now] the email disappears as if sent.  However, they are not transmitted.

Please help!

wtf_gamer

#1
any chance your host is godaddy?

I'm having a similar problem but I'm still on 1.1.12, basically I can send mail with a php script but it won't work through the smf board.

David8

Yes, my host is GoDaddy.  However, I have tested with a small PHP script in the root of my host account and it sends an email correctly.  That leads me to believe the problem is with my SMF 2.0 RC4. 

wtf_gamer

You could be correct, but I have a feeling something may have changed with GoDaddy's phishing and or spam filter because when I use the php mail, trying to send a test newsletter to myself, I don't get any errors but I never receive the message. However, if I use the test php script listed on the SMF FAQ I receive the email just fine, testing the same address I was attempting to send the newsletter too. This is just a recent problem I am really discovering today so obviously GoDaddy's mail server is working however if I switch from PHP to SMTP I get an error saying
"Ran into problems sending Mail. Error: 554 The message was rejected because it contains prohibited virus or spam content"
The godaddy support on this is
http://help.godaddy.com/article/337 [nofollow]

Perhaps you should try the SMTP server if 2.0 has the option I have not used it and see if you get a similar error.

I haven't changed any of my mail settings in ages and my forum is no longer sending emails.

David8

I am working with GoDaddy, my web host, to see if they are intercepting my outgoing emails.

Can anyone point me to the SMF code that actually sends the emails so I can try to debug?  I want to be able to tell if and when something is actually sent and then, perhaps, capture the content as it is submitted to the final PHP mail() function.  (That assumes that SMF sends using the PHP mail() function.)

wtf_gamer

comment in the sources/Subs-Post.php for 1.1.12 says

/*This file contains those functions pertaining to posting, and other such
   operations, including sending emails, ims, blocking spam, preparsing posts,
   spell checking, and the post box.

wish I was on 2.0 to be more help

David8

Same place in 2.0 RC4.  About to insert debugging code.

Thanks

David8

Quote from: wtf_gamer on January 18, 2011, 06:51:12 PM
any chance your host is godaddy?

Your suggestion that the problem lies with GoDaddy is correct.  SMF puts a header: "X-Mailer: SMF" in every email it sends out.  GoDaddy's phishing/spam filter for outgoing mail is blocking all emails with this header.  If you change the header to "X-Mailer: SMX" the emails go through.

I have edited Subs-Post.php and temporarily fixed the problem.  I am negotiating with GoDaddy. 

wtf_gamer

Fantastic!!!, being as my friend is actually the godaddy host account user I didn't get a chance to go through the hassle of trying to deal with there support until this weekend when I had more time but it works for me now too!

/cheers

I can't believe godaddy's filters for SMF, a product that they offer and will automatically install for you under the hosting apps area.

Bar Nuthin

One of my  site [SMF 1.1.13] (hosted on GoDaddy) stopped sending any type of outgoing messages yesterday - 5/28/2011

My other site [SMF 2.0.RC3] (hosted on GoDaddy) seems to be working fine at the moment

Both sites are set to use PHP as "mail type"

I tried the edit to Subs-Post.php mentioned above, but no change.

Does anyone have any idea where I should start looking for a solution?

David8

Yes, read my post two above yours! 

Advertisement: