I am using codeigniter on godaddy.com for a site I'm building and I ran across an issue that I have never had before on any other host.
My registration conformation email goes to the users spam folder in gmail. Why is this? Should I create an email through gmail to send it SMTP with their servers?
Thanks for your help.
Sent mail from PHP goes to spam folder
Page 1 of 16 Replies - 488 Views - Last Post: 14 March 2013 - 03:28 AM
Replies To: Sent mail from PHP goes to spam folder
#2
Re: Sent mail from PHP goes to spam folder
Posted 13 March 2013 - 07:13 PM
Short answer is yes, send the mail using smtp authentication and it should be fine.
The answer is a little more than I can piece together in my head to throw back at you right now, but it's generally to do with how email is sent from the webserver itself. Meaning, if someone says the email was sent from me@yourdomain.com, yet it was actually sent from mail.godaddy.com, gmail will think it's coming from someone spoofing their email to look like it came from your domain.
In certain cases the mail() function could be a big cause for this, check into phpmailer if you continue to have issues, it'll allow you to 100% authenticate your outgoing email and should work fine. It's pretty light, and generally easy to get set up.
The answer is a little more than I can piece together in my head to throw back at you right now, but it's generally to do with how email is sent from the webserver itself. Meaning, if someone says the email was sent from me@yourdomain.com, yet it was actually sent from mail.godaddy.com, gmail will think it's coming from someone spoofing their email to look like it came from your domain.
In certain cases the mail() function could be a big cause for this, check into phpmailer if you continue to have issues, it'll allow you to 100% authenticate your outgoing email and should work fine. It's pretty light, and generally easy to get set up.
#3
Re: Sent mail from PHP goes to spam folder
Posted 13 March 2013 - 07:18 PM
#4
Re: Sent mail from PHP goes to spam folder
Posted 13 March 2013 - 07:55 PM
SMTP sent from a residential ip address will be marked as spam by something like 90% of isp's. & yes, isp's reserve two ip pools. One for residential customers & one for corporate customers. Lastly if your reverse DNS does not match what you say it is, that too will be a large factor in getting your mail into the spam folder.
Just saying you use 'mail' in php does not give actual details that provide to the situation. It's a hosting issue, not a php issue.
One last item to add, if your ip address is black listed for spam (or backscatter, or other security items), then the entire ip is flagged as spam & has nothing to do with the domain name, dns, &/or (yes, you guessed it) php.
Switching to php mailer will do nothing to resolve the issue.
Just saying you use 'mail' in php does not give actual details that provide to the situation. It's a hosting issue, not a php issue.
One last item to add, if your ip address is black listed for spam (or backscatter, or other security items), then the entire ip is flagged as spam & has nothing to do with the domain name, dns, &/or (yes, you guessed it) php.
Switching to php mailer will do nothing to resolve the issue.
#5
Re: Sent mail from PHP goes to spam folder
Posted 13 March 2013 - 08:48 PM
I am contacting GoDaddy.com to try to see if there is a resolution. If so I'll post here to let you all know.
#6
Re: Sent mail from PHP goes to spam folder
Posted 13 March 2013 - 09:21 PM
On further search for answers it seems to be a codeigniter config issue. I am working on a solution now.
#7
Re: Sent mail from PHP goes to spam folder
Posted 14 March 2013 - 03:28 AM
Hey,
We had the same issue and to get round it make sure you use a correct DKIM.
Let me know how you get on.
Scott
We had the same issue and to get round it make sure you use a correct DKIM.
Let me know how you get on.
Scott
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|