To configure Google apps as the mail server for your domain (provided you have created the MX records on your domain), use these settings:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => 'smtp.gmail.com',
:port => 587,
:domain => 'domain.com',
:user_name => 'user@domain.com',
:password => 'password',
:authentication => 'plain',
:enable_starttls_auto => true
}
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => 'smtp.gmail.com',
:port => 587,
:domain => 'domain.com',
:user_name => 'user@domain.com',
:password => 'password',
:authentication => 'plain',
:enable_starttls_auto => true
}
No comments:
Post a Comment