jam-cloud/ruby/lib/jam_ruby/app/views/layouts
Seth Call 6ea4bae05c merging jam-ruby into ruby 2013-09-15 18:04:03 +00:00
..
README.md merging jam-ruby into ruby 2013-09-15 18:04:03 +00:00
from_user_mailer.html.erb merging jam-ruby into ruby 2013-09-15 18:04:03 +00:00
from_user_mailer.text.erb merging jam-ruby into ruby 2013-09-15 18:04:03 +00:00
user_mailer.html.erb merging jam-ruby into ruby 2013-09-15 18:04:03 +00:00
user_mailer.text.erb merging jam-ruby into ruby 2013-09-15 18:04:03 +00:00

README.md

Understanding Jamkazam Email Layouts

We have two types of layouts;

  • a 'standard' email layout which is an email to a user (user_mailer.html.erb/text)
  • a 'from a user to another user' email layout (from_user_mailer.html.erb/text)

user_mailer.html.erb

To use the user_mailer.html.erb layout, you must provide a title section, as well as the body. Look at 'password_changed.html.erb' for an example.

from_user_mailer.html.erb

To use the from_user_mailer.html.erb layout, you must provide a title section, photo_url section (photo of the person who sent the email), and a note section (any personalized note that the sender may have said, or boilerplate) Look at 'friend_invitation.html.erb' for an example.