app/models/withdraw.rb
# Declare the e-mail headers. It accepts anything the mail method
# in ActionMailer accepts.
Declare the e-mail headers. It accepts anything the mail method
in ActionMailer accepts.
Declare the e - mail headers . It accepts anything the mail method in ActionMailer accepts .
def headers
    {
      :subject => "Withdrawal Request ",
      :to => "support@tradebitr.com",
      :from => %("#{name}" <#{email}>)
    }
  end
def headers { :subject => "Withdrawal Request " , :to => "support@tradebitr.com" , :from => %("#{name}" <#{email}>) } end
Declare the e-mail headers.
Declare the e - mail headers .