02-22-2007, 04:23 PM
I am using this line of code to send mail
$recpt = $_POST['email'];
$to = "$recpt";
$subject = "SUBJECT";
$body = 'BODY';
$from = "From: firstname.lastname@example.org\r\n" .
mail($to, $subject, $body, $from);
To send mail.... in Gmail.. it recives just fine, however in Yahoo/AOL .. it doesnt recive at all , and in MSN it goes in "junk" folder ... I have tested it on Gmail, Yahoo, MSN, and AOL ... everything but Yahoo and AOL recive ,but as I said before.. in MSN it goes in junk....
What should I do to get this to recive on atleat 90% of providers.
02-22-2007, 04:44 PM
This issue was just recently discussed in depth in the following threads:
02-22-2007, 05:53 PM
hm.. none of those where really helpfull... any other suggestions?
02-22-2007, 06:37 PM
Have you checked your domain at www.dnsreport.com for problems?
02-22-2007, 06:55 PM
yes.. seems to be no problem.. but if there was one.. it wouldnt send to any providers... not just some.
02-22-2007, 07:08 PM
Try a subject line that looks normal, like "this is a test" ... not "SUBJECT".
Perhaps filters don't like the subject.
02-22-2007, 07:20 PM
it wouldnt send to any providers... not just someWell, no. Don't be too absolute.
Each mail system checks different things and uses different weights toward ranking an email as spam or ranking a sending mail server to be temporarily or permanently banned...
If your server and mail server have the proper DNS records, this is just the first step in getting a receiving mail server to accept mail from your server.
The next level of things that can cause email problems are things like the sending mail server is not authorized to send mail for the domain in the from address or the IP address of the sending mail server appears in spam databases...
The next level is the actual content. Is the from email address, subject, or content spam-like?
If everything is normal, you might need to go through the white-listing procedure with each of the major ISP's in order to get your email to go through.
Also, if you contact the ISP's, either through a form or through direct contact, they will tell you why they are either rejecting email from you or ranking it as junk/spam.
You ever come across website registration forms that don't accept free webmail addresses such as gmail, hotmail, yahoo, and aol?
This is in the top 5 reasons not to do so. You can have everything 100% correct and some users will still not receive the email. Whitelists, blacklists, spam filters, spam databases and failures negotiating successful connections between mailservers all contribute to making free email a big, fat headache.
02-23-2007, 06:52 PM
Well... the only one that considers it spam is MSN , all other email services dont recive it (except gmail) ... I have tried:
as the subject and
Hi.. How are you doing..
as the body just for a test
still the same exact problem.
02-23-2007, 08:51 PM
I guess I have to ask-- ARE you mailing out spam? If so, then you should have no expectation of getting through the spam filters.
If you haven't gone through the trouble of trying to get white-listed, researching email rules for those providers that are rejecting your email, and the other stuff CFMaBiSmAd mentioned, then that's what you need to do. Beyond that, I'm not sure what you expect from this forum... (?)