Sha256: 93e544cbfa0b873691a55da411e62f22f4f49cf64dc138608c34f11b8684e554

Contents?: true

Size: 658 Bytes

Versions: 10

Compression:

Stored size: 658 Bytes

Contents

module LoldesignPublisher
  class ContactMailer < ActionMailer::Base
    def send_contact_message(options={})
        @title        = options[:title]        || 'Título Padrão'
        @message      = options[:message]      || 'Mensagem Padrão' 
        @subject      = options[:subject]      || 'E-mail enviado pelo web-site.'
        @extra_fields = options[:extra_fields] || {}
        @to           = options[:to]           || 'eduardo@loldesign.com.br'
        @from         = options[:from]         || 'suporte@loldesign.com.br'

        mail( :to      => @to,
              :from    => @from,
              :subject => @subject )
      end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
loldesign_publisher-2.0.0 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.5.1 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.5.0 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.4.0 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.3.6 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.3.4 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.3.3 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.3.2 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.3.1 app/mailers/loldesign_publisher/contact_mailer.rb
loldesign_publisher-1.3.0 app/mailers/loldesign_publisher/contact_mailer.rb