class<%= class_name %> < ActionMailer::Base # change to your domain name default_url_options[:host] ='example.com'<% for actioninactions-%> def <%= action %>(sent_at=Time.now)subject'<%= class_name %>#<%= action %>'recipients''from''sent_onsent_atbody:greeting=>'Hi,'end<% end -%>end