class Mail::SMTPConnection
wrapper methods to support sending raw email, where recipient and sender can be custom
Public Instance Methods
deliver_raw!(raw_source_email, smtp_from, smtp_to)
click to toggle source
# File lib/mailhandler/extensions/mail/smtp.rb, line 16 def deliver_raw!(raw_source_email, smtp_from, smtp_to) response = smtp.sendmail(dot_stuff(raw_source_email), smtp_from, smtp_to) settings[:return_response] ? response : self end