Return to Snippet

Revision: 35150
at November 3, 2010 08:44 by insanedreamer


Initial Code
Pony.mail(:to => '[email protected]', :via => :smtp, :via_options => {
:address => 'smtp.gmail.com',
:port => '587',
:enable_starttls_auto => true,
:user_name => 'id_gmail',
:password => 'parola_gmail',
:authentication => :plain, # :plain, :login, :cram_md5, no auth by default
:domain => "HELO", # don't know exactly what should be here
},
:subject => 'hi', :body => 'Hello there.')

Initial URL


Initial Description


Initial Title
send mail via GMail with Pony

Initial Tags
mail

Initial Language
Ruby