class PermitSender < ActionMailer::Base
  default from: "from@example.com"

  # send the permit email to San Antonio Gov, pass in the user object that contains the user's email address
  def send_permit_application(user)
    @permit = permit
    mail( :to => @permit.email,
    :subject => 'Thanks for signing up for our amazing app' )
  end
end

class PermitSender < ActionMailer::Base
  default from: "donotreply@homebasefix.com"

  # send the permit email to San Antonio Gov, pass in the user object that contains the user's email address
  def send_permit_application(user)
    @permit = permit
    mail( :to => @permit.email,
    :subject => 'Thanks for signing up for our amazing app' )
  end
end

Configure email from permit sender to be donotreply@homebasefix
Configure email from permit sender to be donotreply@homebasefix
