Reputation: 339
My Drupal site sends email to a GMail account, but the emails sent all go into the Spam folder, and GMail puts up a bar with the message "This message was likely forged and did not originate from your account."
Although I can create a filter to prevent them going to Spam, I want to start sending newsletters, and I suspect they'll have the same problem.
I suspect the problem is with the way I've set up either PHP or Drupal to send mail. As far as I know it's just using the sendmail function. I've set the from address to "info@..." where ... is the site domain. Any tips on how I can make set up my outgoing mail so it won't be refused by GMail (and presumably other major mail providers)?
Upvotes: 2
Views: 2748
Reputation: 374
Here are the steps I followed to get my Drupal emails working. The solution will be different for you depending on which services you're using, but hopefully this will give you a starting point.
Upvotes: 2
Reputation: 1381
I suggest this article to get you on the right track. http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email-through-code.html
Upvotes: 3