I'm using GMail as my SMTP server. I have that configuration working just fine:
# config/initializers/action_mailer.rb:
ActionMailer::Base.smtp_settings = {
:tls => true,
:address => "smtp.gmail.com",
:port => "587",
:domain => "www.example.org",
:authentication => :login,
:user_name => "[email protected]",
:password => "it's a secret"
}
I also have a public/private RSA key pair in config/ssl/rsa.public
and config/ssl/rsa.private
.
What do I do to sign the emails before shipping them off to GMail's SMTP server?