Reputation: 7815
There is a lot of information in rails about setting up rails to work with gmail and I have done this for a personal (e.g. [email protected] ) website.
Now unfortunately google apps for businesses no longer offers free mail hosting but as it says here apparently outlook do.
so I followed the instructions, changed my DNS MX records and everything and set up smtp (similar to the google version like so )
this gives me (eg from here):
config.action_mailer.deconfig.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.live.com",
:port => 587,
:domain => 'mydomain.com'
:user_name => 'username',
:password => 'mypass',
:authentication => 'plain',
:enable_starttls_auto => true }
ahh. I have finally solved this, I figure I'll post it to save somebody else the hassle. I had massive headaches trying to get this microsoft server to send from any address, my solution is now to use mandrill it's easy to configure and free for less than 12k emails per month.
(DISCLAIMER: I have no connection to Mandrill, please let me know any tips to allow the microsoft server to work, I couldn't and half a day was enough for me)
Upvotes: 1
Views: 2313
Reputation: 918
I have basically identical settings as you but mine is working. I'm guessing your user_name is wrong, it should be
:user_name => "[email protected]"
and also make sure you've at least logged in once to your newly created account to activate it
Upvotes: 2