Hi people!
I have searched around the web for this problem, but I have not found the solution.

I installed Drupal 7 on a hosting (Godaddy), it doesn't send mails (request passwords, contact form, webform...)
i tried with a php script, function mail() and it works fine!

In phpinfo() shows:

sendmail_from	me@localhost.com	me@localhost.com
sendmail_path	/usr/sbin/sendmail -t -i 	/usr/sbin/sendmail -t -i 
SMTP	relay-hosting.secureserver.net	relay-hosting.secureserver.net
smtp_port	25	25
 

my php.ini file has a line with:

SMTP = relay-hosting.secureserver.net
 

Comments

tommyent’s picture

I have found that adding the site email address to your host as an email account fixes this issue. So in other words log into Godaddy and add me@example.com as an email account

jgoge’s picture

Yeah! You're right! i just set the site email address with an email account of someUser@mydomain.com and that's works! Thank you very much.

I set the email account (of the hosting) to send a CC Automatically to my personal email (gmail), So, I if send an email directly to someUser@mydomain.com this appear in the inbox and in my personal account.

But Something weird is that the messagges sent from contact form doesn't apper in the inbox of the someUser@mydomain.com, only in my Personal email ¬¬.

Thanks for your help

cfcaballero’s picture

I found that in my recent 7.14 installation, I had to install the smtp module and use relay-hosting.secureserver.net with no auth in order to send. Used a from address that I created in GoDaddy's free email, didn't try a different sender.

tommyent’s picture

Although I've yet to implement it I've decided to start moving towards transactional email services for reasons like this plus reports are nice. Mandrill is Mailchimps new service and they sponsored the Mandrill Module

I will be getting it up and running for the first time with the DrupalCampCt site this week I hope so if I can remember I'll report back.