Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
Add general email template
Browse files Browse the repository at this point in the history
  • Loading branch information
allenwq committed Jul 17, 2017
1 parent 6a9f7f4 commit 8d1ed1f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/mailers/user_mailer.rb
Expand Up @@ -170,4 +170,10 @@ def course_migration_ended(course, user)

mail(to: user.email, subject: "[Coursemology] Your course #{course.title} has been successfully migrated")
end

def general_email(user, title)
@user = user

mail(to: user.email, subject: title)
end
end
10 changes: 10 additions & 0 deletions app/views/user_mailer/general_email.erb
@@ -0,0 +1,10 @@
<p>Dear <%= @user.name %>,</p>

<p>We have completed our migration from v1 to v2. The old materials are currently still available at https://v1.coursemology.org/, but once we ascertain that there are no problems with the migration to v2, v1.coursemology.org will be decommissioned. Please take some time to check over your migrated course materials on https://coursemology.org/ and let us know at coursemology@googlegroups.com latest by 23 Jul 2017. </p>

<p>If there are any issues, we will try to recover/fix from you. Once v1.coursemology.org is decommissioned, it would probably not be possible for us to recover if there are any problems. Thanks for your patience.</p>

<p>
Best Regards,<br />
The Coursemology Team
</p>

0 comments on commit 8d1ed1f

Please sign in to comment.