I have followed the tutorial http://guides.rubyonrails.org/action_mailer_basics.html and the mail is displayed in the terminal and it is not displayed in mail.
I have followed the tutorial http://guides.rubyonrails.org/action_mailer_basics.html and the mail is displayed in the terminal
Share
Suppose you have made mailer class
Mailusing action mailer as declared belowFor sending mail you can use
This command will send mail using action mailer.
For testing whether above statement works fine, open rails console using rails c, and type the above command. You will get object to whom and with what subject mail is send.