Jump to content

Recommended Posts

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 by roguitar
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 

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.

Link to comment
Share on other sites

 

 

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.  :wacko:  :rolleyes:  

Edited by roguitar
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...