Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pony.mail(:to => contacts, :via => :smtp, :subject => "Alarm", :html_body => "<pre> #{directions.join} </pre>" "<img src=\"http://open.mapquest.com\">", :via_options => {
- :address => 'smtp.gmail.com',
- :port => '587',
- :enable_starttls_auto => true,
- :password => 'x',
- :authentication => :plain, # :plain, :login, :cram_md5, no auth by default
- :domain => "gmail.com" # the HELO domain provided by the client to the server
- })
Advertisement
Add Comment
Please, Sign In to add comment