jam-cloud/ruby/lib/jam_ruby/app/views/layouts
Nuwan 1e988931a4 sending weekly email to users about new users joined in 2023-11-02 08:41:29 +05:30
..
README.md VRFS-1331 - JamKazam instead of Jamkazam 2014-04-20 16:43:58 -05:00
empty_mailer.html.erb VRFS-4748 - 3 differet email reminders 2018-05-20 21:57:53 -05:00
from_user_mailer.html.erb * lessons 90% done, but still mostly hidden 2016-04-05 21:23:15 -05:00
from_user_mailer.text.erb *hardcoding https where http is found 2015-05-15 18:25:47 -05:00
raw_mailer.html.erb * lessons 90% done, but still mostly hidden 2016-04-05 21:23:15 -05:00
raw_mailer.text.erb * lessons 90% done, but still mostly hidden 2016-04-05 21:23:15 -05:00
user_mailer.html.erb VRFS-4189 - non free jamtrack support 2016-08-02 20:46:15 -05:00
user_mailer.text.erb *hardcoding https where http is found 2015-05-15 18:25:47 -05:00
user_mailer_beta.html.erb sending weekly email to users about new users joined in 2023-11-02 08:41:29 +05:30
user_mailer_beta.text.erb sending weekly email to users about new users joined in 2023-11-02 08:41:29 +05:30

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.