I'm having a problem with email notifications not being sent.
My mail type is set to PHP
Its all been working fine for months but has stopped.
I checked my error logs and there is nothing there showing errors involved with mail.
Some mail is getting through to my personal Gmail account, no mail is getting through though to my personal Yahoo account.
I checked with GoDaddy but they could only confirm everything was ok on there end and no spam filtering or anything going on or blacklisted domain.
They couldn't help much past that because they do not know what type of mail server SMF uses or where the scripting for the mail function is. All they could do was direct me to ask here.
Thought it was odd as they offer SMF as one of there easy installations. ???
I'm a little worried that my site may have been possibly hacked.
I have been at this now for two days with no success, and haven't had any luck finding the answers on here.
I Would appreciate any help with this or pointing me in the right direction.
Thanks in advance ;)
I did try the test file suggested at http://wiki.simplemachines.org/smf/E-Mails_-_Why_are_members_not_getting_emails_sent_from_the_forum
But not sure if I did it right. Not sure where to put the websites email address and my own personal address in or what folder to exactly place this file.
<?php
$mail = mail("YOUR-EMAIL-HERE", "wahahahahahaahahahahaa","I like spamming your inbox!!!", "From: Myself<[email protected]");
if(!$mail){
echo '<font color="red">mail is not send!</font>';
} else {
echo '<font color="#00FF00">mail is send :-)</font>';
}
?>
Did I say something wrong here?
Maybe you did a bump within 24 hours ?
Maybe you did it even twice ?
Support people absolutly don't like that.
Put the file where your forum files are:
QuoteSave as testmail.php and upload to your server.
Again, be sure to delete the test script when finished, or spam email can be sent to the email address used in the script.
Sorry if I irritated you CapadY or any others.
I felt my second post in this thread was pertinent in getting this issue resolved. Seeing as many had already come through and read in the ten minute time frame I didn't think it was good to go back and edit that bit of info into my original post. As that has a tendency to irritate people too.
If I had a better understanding of the "test" procedure I could at the least have something to help me determine what exactly is going on with my site and put my mind at ease and troubleshoot for myself.
I'm still not sure what the issue is. But with the test file I still am not getting any email notifications.
Thanks for clarifying the test issue for me mashby. ;)
I cannot get any further help from my host on the matter because they do not know what type of mail server SMF uses or where the scripting for the mail function is. If they have that information they have said they may be able to help me resolving this issue.
Again sorry if irritated anybody here. I have had little sleep in three days now and a newsletter that has to go out to all of my members about a legal situation.
I need help in a bad way. :-[
I tried the test file again with a different email account.
No luck with either Yahoo or Gmail and using the test file.
But with the Gmail account I am receiving report to moderator notifications, and PM notifications.
Not sure what to make of that. Any ideas?
Oh well at this point in the game I have nothing to lose bumping this thread.
It really should be included in board stickies here that if you post more then once in your thread within a 24hr period you risk be flagged as "He who will not be supported". :o
Funny you mention that, it's in the 1.x support board, but not the 2.x one regarding the topic bumping. What file did you put on your server? Not sure if this is the test file or your actual forum?
QuoteBut with the Gmail account I am receiving report to moderator notifications, and PM notifications.
My bad then mashby, I had a good luck streak with 1.x.x and never needed to post when an issue came up. The answers were here and the digging was easy.
I used the test file listed in the SMF wiki located here: http://wiki.simplemachines.org/smf/E-Mails_-_Why_are_members_not_getting_emails_sent_from_the_forum
Didn't see anything about what platform it supported but found it in a similar thread in the 2.x.x board.
You have me worried I might have used the wrong test file now.
GoDaddy was not any help with giving me what I need to get mail working using SMTP either.
What message appeared when you viewed the testfile.php? Mine came back with:
Quotemail is send :-)
Nothing has changed in the testfile at all.
Nothing in the error log.
No emails are sent.
Here's what I put in my testfile.php.
<?php
$mail = mail("[email protected]", "wahahahahahaahahahahaa","I like spamming your inbox!!!", "From: Myself<[email protected]");
if(!$mail){
echo '<font color="red">mail is not send!</font>';
} else {
echo '<font color="#00FF00">mail is send :-)</font>';
}
?>
I uploaded it and went to the file in my browser. Are you doing something similar?
I was just reading the file after I uploaded it through the FTP. Not through my browser. :-[
Hey guys I think the Wiki needs a little tweaking for we noob folk.
OK so here is were I am at now.
testmail.php sending to gmail.... I get mail is send
testmail.php sending to yahoo... I get mail is send
My gmail receives the test to my inbox. Yahoo does not.
The file really only checks to see if your server can send PHP mail though which it is certainly doing, although the file certainly sends an email. Not sure why your Yahoo account doesn't receive them, but your server is certainly sending them. Is there a Spam folder on your Yahoo account maybe?
Yeah spam folder is empty.
My website has not accidentally been flagged or blocked by me.
Wondering if you could (just for fun) use the code I provided and go to the file in your browser? I just have a feeling this is an isolated issue with your Yahoo! mail account. I'm pretty sure if you use my email address and spam the heck out of me, I'll get the emails. And based on the test file with your Yahoo account set, it's sending. It's just a receiving issue. Just a hunch and I'd put money down in Vegas if I was close enough. :)
Ok Mashby spam coming your way.
Deleted the test.php file when I was done.
Got 2 of them! :)
So, that sure tells me it's not a sending issue, it's a receiving one. Are other members on your site not receiving them and have a Yahoo! address?
Yes it appears to be the case.
Digging through the messages sent to me and looking at there profiles it is a Yahoo issue.
Was overlooked as I found out about this issue through members pointing it out in PM's that they were not receiving notifications.
It seems that yahoo.com and yahoo.co.uk is filtering me. Have no idea why, or why all of a sudden.
I was just looking at this reply here to someone with this issue. http://www.simplemachines.org/community/index.php?topic=450193.msg3145571#msg3145571
When I talked with GoDaddy the other day they stated everything was fine on there end.
Any guidance on how to deal with the host. I'm looking at the message header from the testmail I received on the Gmail account and not seeing anything that raises a serious flag.
Checked the sender IP on Project Honeypots site and returned this:
QuoteThis IP has not seen any suspicious activity within the last 3 months. This IP is most likely clean and trustworthy now. (This record will remain public for historical purposes, however.)
Just an update for archival purposes.
I talked with GoDaddy and pressed the issue. They kept insisting that it was a problem with the SMF software. For whatever reason Yahoo was blocking mail sent from there server. Being that this forum is still small, we are lumped into shared hosting, so maybe another site or two abused the mail system for the shared host and everyone got blocked.
Regardless the mail is getting through now and my headaches are gone.
Just want to say thanks to mashby for lending a helping hand in a time of need. It was greatly appreciated ;)