roguitar Posted July 11, 2019 Posted July 11, 2019 (edited) Is php mail() function not working today?This is my base code: <!-- NO HTML CODE ABOVE --> <?php $email = "rogeriobsoares5@gmail.com"; $subject = "Email Test"; $message = "Hello, boy!"; mail($email, $subject, $message, "From: English U.P.<englishup19@gmail.com>\nX-Mailer: PHP/" . phpversion()); sentmessage = true; ?> <HTML charset="utf-8"> <HEAD> <TITLE>MAILER</TITLE> </HEAD> <BODY> <?php if(isset($sentmessage)){ if($sentmessage == true){ echo "Message sent successfully!"; } } ?> </BODY> </HTML> I've been testing several times today, but I'm not receiving the messages at all. Why is that the case? Would anybody know the answer? Thank you! AN IMPORTANT PIECE OF INFORMATION: It's not working when I send to my gmail accounts, but only when I set $email as my Hotmail account. Why? Edited July 11, 2019 by roguitar
wolstech Posted July 11, 2019 Posted July 11, 2019 Ricky is currently blacklisted by SORBS (which is a very common spam list), so any provider using that spam filter list will flag or refuse the emails. Also, Gmail typically marks email from our servers as spam anyway. Check to see if it's in your spam bin and choose "Not Spam" if so. After that they'll come through normally for you.
Sn1F3rt Posted July 11, 2019 Posted July 11, 2019 Ricky is currently blacklisted by SORBS (which is a very common spam list), so any provider using that spam filter list will flag or refuse the emails. Can't it be fixed? Also, Gmail typically marks email from our servers as spam anyway. Check to see if it's in your spam bin and choose "Not Spam" if so. After that they'll come through normally for you.Except Cody huh?.... Registration emails arrive normally.
wolstech Posted July 11, 2019 Posted July 11, 2019 Ricky is currently blacklisted by SORBS (which is a very common spam list), so any provider using that spam filter list will flag or refuse the emails.Can't it be fixed? Also, Gmail typically marks email from our servers as spam anyway. Check to see if it's in your spam bin and choose "Not Spam" if so. After that they'll come through normally for you.Except Cody huh?.... Registration emails arrive normally. That's because Cody doesn't have user accounts on it to get it blacklisted This issue can't really be fixed for the shared IPs. All of our shared IPs have bad reputations in general due to the fact we sometimes host phishing and spam. Sometimes they get blacklisted as well. If we get one delisted, the next time someone sends spam or phishing mail it'll end up listed again. Eventually they won't even let you be delisted, so we try to limit requests for delisting and let the IP's reputation improve so it falls off on its own. If a user really wants to send mail here without facing this issue, buying a dedicated IP is the proper fix. By not sharing with a bunch of spammers, their IP's reputation only reflects what their account sends.
roguitar Posted July 11, 2019 Author Posted July 11, 2019 (edited) Ricky is currently blacklisted by SORBS (which is a very common spam list), so any provider using that spam filter list will flag or refuse the emails.Can't it be fixed? Also, Gmail typically marks email from our servers as spam anyway. Check to see if it's in your spam bin and choose "Not Spam" if so. After that they'll come through normally for you.Except Cody huh?.... Registration emails arrive normally. That's because Cody doesn't have user accounts on it to get it blacklisted This issue can't really be fixed for the shared IPs. All of our shared IPs have bad reputations in general due to the fact we sometimes host phishing and spam. Sometimes they get blacklisted as well. If we get one delisted, the next time someone sends spam or phishing mail it'll end up listed again. Eventually they won't even let you be delisted, so we try to limit requests for delisting and let the IP's reputation improve so it falls off on its own. If a user really wants to send mail here without facing this issue, buying a dedicated IP is the proper fix. By not sharing with a bunch of spammers, their IP's reputation only reflects what their account sends. Now I get it. Well, I can't remember exactly, but once I messed up with the settings in my gmail accoount and I'd chosen an option which automatically and systematically would downgrade the security of my account. I guess I did it in order to transform it into an automatic sender, because I have another website hosted at another server (not here, but other free website hosting company). I did it, because they don't provide this sorta "mailing" service. Anyways, as I can't remember exactly the wonderful stuff I'd done, I just dunno how to reverse it. And I don't know either if your system may have detected it as phishing attempt. Anyways, you know, thank you. Edited July 11, 2019 by roguitar
Sn1F3rt Posted July 11, 2019 Posted July 11, 2019 @wolstech: Yep that's true....I had sent u a PM ....I edited some details so please check it out. EDIT: @roguitar: Please remove the slang word from ur post... It's not allowed here.
roguitar Posted July 11, 2019 Author Posted July 11, 2019 @wolstech: Yep that's true....I had sent u a PM ....I edited some details so please check it out. EDIT: @roguitar: Please remove the slang word from ur post... It's not allowed here.Ah, ok. Sorry for that and thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now