jam-cloud/ruby/lib/jam_ruby/app/views/layouts
Brian Smith 0007930936 VRFS-2401 revert to inline styles for email links for now, need to revisit better solution 2014-11-02 16:43:56 -05:00
..
README.md VRFS-1331 - JamKazam instead of Jamkazam 2014-04-20 16:43:58 -05:00
from_user_mailer.html.erb VRFS-2401 revert to inline styles for email links for now, need to revisit better solution 2014-11-02 16:43:56 -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-2401 revert to inline styles for email links for now, need to revisit better solution 2014-11-02 16:43:56 -05: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.