Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

send email rails c one line

ActionMailer::Base.mail(from: 'from@domain.com', to: 'to@domain.com', subject: "Welcome to My Awesome Site", body: 'I am the email body.').deliver
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #email #rails #line
ADD COMMENT
Topic
Name
5+3 =