Sha256: 7b98702aa62c37b4562220563c663594320884184e3cf678ca076e022a968152

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

module Devmail
  class Sample < ActionMailer::Base
    default from: "from@example.com"
  
    # Subject can be set in your I18n file at config/locales/en.yml
    # with the following lookup:
    #
    #   en.sample.test.subject
    #
    def test
      @greeting = "Hi"
  
      mail to: "to@example.org"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devmail-0.1.0 app/mailers/devmail/sample.rb