Last active
December 23, 2015 14:39
Revisions
-
HatemMahmoud revised this gist
Oct 23, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ $ rails c class MyMailer < ActionMailer::Base default :from => 'actionmailer.debugger@example.com' def test_email mail(:to => "hatem@example.com", :subject => 'Testing from Rails console', :body => 'This is a test email') end end -
HatemMahmoud created this gist
Sep 21, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ $ rails c class MyMailer < ActionMailer::Base default :from => 'actionmailer.debugger@example.com' def test_email mail(:to => "hatem@example.com", :subject => 'Testing from Rails console') end end MyMailer::test_email.deliver!