Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'aws-sdk-ses'
- ses = Aws::SES::Client.new(:region => 'us-east-1')
- resp = ses.send_email(
- {
- :destination => { :to_addresses => [...]},
- :message => {
- :body => {
- :html => {:charset => "utf-8", :data => "Prueba <b>HI</b>"},
- :text => {:charset => "utf-8", :data => "Prueba plain"},
- },
- :subject => {:charset => "utf-8", :data => "Prueba API"},
- },
- :source => "support@vlex.com",
- :configuration_set_name => "EmailMonitoring",
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement