Contributed by Guillaume F. This is an example ruby action script with the proper settings for use with Gandimail: ActionMailer::Base.smtp_settings = { :address => "mail.gandi.net", :port => 587, :authentication => :login, :user_name => 'USERNAME', :domain=>'DOMAIN.LTD', :password => 'PASSWORD', :enable_starttls_auto=>true }