I am trying to send letters over rails using Action Mailer and a Googlemail-SMTP server, but this does not work. What am I doing wrong?
Here's the configuration I'm using (I also tried a local Relay-Server without authentication, which also didn't work):
config.action_mailer.smtp_settings = {
:tls => true,
:address => "smtp.googlemail.com",
:port => "587",
:domain => "localhost",
:authentication => :plain,
:user_name => "joijoii@googlemail.com",
:password => "dsgdes"
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = { :host => "localhost:80" }
config.action_mailer.default_charset = "utf-8"
source
share