Sha256: 3f7c22f4951995c82bd33c6085e4193d2c0d4838bba132ed0d3ec2c313eeb0a0
Contents?: true
Size: 494 Bytes
Versions: 27
Compression:
Stored size: 494 Bytes
Contents
class ContactMailer < ActionMailer::Base def new_message_email(message) @message = message #if message.attachment? # attachments[message.attachment.identifier] = File.read(message.attachment.current_path) #end mail( from: Settings.default_email_from(default: 'noreply@rscx.ru'), to: Settings.form_email(default: 'i43ack@gmail.com'), subject: "[#{Settings.email_topic(default: 'с сайта')}] #{message.name} #{message.email}" ) end end
Version data entries
27 entries across 27 versions & 1 rubygems