cylode Posted April 14, 2007 Share Posted April 14, 2007 Hi there, I'm in a rather desperate situation and need some help. I've recently started a PHP-based website that seems to be taking off quite a bit. It has a user registration process in which users confirm their accounts via an email. Currently, 25% of these emails are not delivered (or received), primarily to the following account types: *aol.com *aim.com *sbcglobal.com *comcast.net And occassionally Gmail and yahoo. The site uses mail() to send them out, but the mail relay server is the same one used by all other clients my hosting company has (GoDaddy). This means that when I send an email, it says the "From: " is the email address I choose, but the "Mailed-by:" says some nasty long name like "k2.smtp.secureserver.net" Some email recipients report no problems at all. I thought one way to solve the problem would be to use some kind of SMTP-authenticated class library such as PHPMailer. I used that, and it actually resulted in even more emails being labeled as spam. I'm really confused. Anyone know how to get around this issue? I've email GoDaddy plenty of times and they don't even bother responding. Thanks guys, Jason Link to comment https://forums.phpfreaks.com/topic/46985-help-mail-function-is-being-labeled-as-spam/ Share on other sites More sharing options...
kenrbnsn Posted April 14, 2007 Share Posted April 14, 2007 Please post the code you're using to send the email. And search the forum -- there have been plenty of other threads in the recent months address this sort of thing. Ken Link to comment https://forums.phpfreaks.com/topic/46985-help-mail-function-is-being-labeled-as-spam/#findComment-229143 Share on other sites More sharing options...
Glyde Posted April 14, 2007 Share Posted April 14, 2007 It's always best to specify as many headers as you can in the mail, so the servers can collect more data and more accurately determine if it truly is spam. One issue that has been known to work for a few hosts is adding: "X-Mailer: PHP/" . phpversion(); To the headers list. Link to comment https://forums.phpfreaks.com/topic/46985-help-mail-function-is-being-labeled-as-spam/#findComment-229192 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.