Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def booking_confirmed_email(booking)
- @booking = booking
- mail(:to => booking.contact_email,
- :bcc => "my@email.com",
- :subject => "Congratulations, #{booking.contact_name}!")
- end
- def booking_confirmed_email(booking)
- @booking = booking
- mail(:to => booking.contact_email,
- :bcc => ["my@email.com"],
- :subject => "Congratulations, #{booking.contact_name}!")
- end
- mail(:to => "some@example.com" , :subject => "Example Subject"
- :bcc => ["bcc@example.com", "Order Watcher <watcher@example.com>"] ,
- :cc => "other@example.com" )
- mail(:subject => "enter your subject", :bcc => "email@email.com")
- @bcc = User.all.email
- mail(:subject => "enter your subject", :bcc => @bcc)
Add Comment
Please, Sign In to add comment