Sha256: a3dde17cbc458c23b90793a8fb469c68f3b42d59d030bb70d88875f252e764e6

Contents?: true

Size: 370 Bytes

Versions: 16

Compression:

Stored size: 370 Bytes

Contents

class Notification < ActionMailer::Base
  default from: "<%= application_name %> Notification <noreply.<%= application_name.underscore %>@gmail.com>"

  def notify_us(contact)
    @contact = contact
    mail(
      to: 'bzbnhang@gmail.com',
      reply_to: "#{contact.full_name} <#{contact.email}>",
      subject: "[Contact Form] #{contact.full_name}"
    )
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pixelforce_cms-2.6 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-2.5 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-2.4 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-2.3 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-2.2 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-2.0 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-1.0 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.9 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.8 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.7 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.6 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.5 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.4 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.3 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.2 lib/generators/pixelforce_cms/templates/notification.rb
pixelforce_cms-0.9.9.1 lib/generators/pixelforce_cms/templates/notification.rb