app/mailers/application_mailer.rb (4 lines of code) (raw):

class ApplicationMailer < ActionMailer::Base default from: 'from@example.com' layout 'mailer' end