Guest User

Untitled

a guest
Jun 28th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.54 KB | None | 0 0
  1.   Pony.mail(:to => contacts, :via => :smtp, :subject => "Alarm", :html_body => "<pre> #{directions.join} </pre>"  "<img src=\"http://open.mapquest.com\">", :via_options => {
  2.   :address              => 'smtp.gmail.com',
  3.   :port                 => '587',
  4.   :enable_starttls_auto => true,
  5.   :user_name            => '[email protected]',
  6.   :password             => 'x',
  7.   :authentication       => :plain, # :plain, :login, :cram_md5, no auth by default
  8.   :domain               => "gmail.com" # the HELO domain provided by the client to the server
  9. })
Advertisement
Add Comment
Please, Sign In to add comment