Skip to content

Instantly share code, notes, and snippets.

@paulodeleo
Created August 5, 2020 18:33
Show Gist options
  • Save paulodeleo/17a32ab9ff990e2f57189eab3740eb8c to your computer and use it in GitHub Desktop.
Save paulodeleo/17a32ab9ff990e2f57189eab3740eb8c to your computer and use it in GitHub Desktop.

Revisions

  1. paulodeleo created this gist Aug 5, 2020.
    1 change: 1 addition & 0 deletions mailer_one_liner.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    class TestMailer < ActionMailer::Base; def test; mail from: '[email protected]', to: '[email protected]', subject: 'Test e-mail subject', body: 'Test e-mail body'; end; end; TestMailer.test.deliver_now