jam-cloud/ruby/lib/jam_ruby/app/views/layouts
Jonathan Kolyer aef2b873f2 VRFS-1430 changed db default sender back to noreply; changed text for batch mails to FFFFFF from AAAAAA 2014-10-13 00:51:13 +00:00
..
README.md VRFS-1331 - JamKazam instead of Jamkazam 2014-04-20 16:43:58 -05:00
from_user_mailer.html.erb * wip 2014-07-31 20:16:38 -05:00
from_user_mailer.text.erb * clean up lowercase k's in emails: VRFS-732 2014-03-04 01:09:13 -06:00
user_mailer.html.erb VRFS-1430 changed db default sender back to noreply; changed text for batch mails to FFFFFF from AAAAAA 2014-10-13 00:51:13 +00:00
user_mailer.text.erb VRFS-1483 integrating opt-out; fixing tests 2014-04-01 14:42:26 +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.