Send mail with ActionMailer on localhost for leopard


#1

For @free.fr email address

Don’t use any tls plugin !!!

add in config/environnements/development.rb

ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = false
ActionMailer::Base.default_charset = “utf-8”

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:port => 25,
:domain => ‘free.fr’,
:address => ‘smtp.free.fr’,
:pop3_auth => {
:server => ‘pop.free.fr’,
:user_name => ‘dhh’,
:password => ‘secret’,
:expires => 1.hour # expiration time for the credentials
}
}


#2

If you used plugin or gem tls or smtp_tls your have this error message :

502 Error: command not implemented