-
Notifications
You must be signed in to change notification settings - Fork 0
/
emailBody.js
17 lines (14 loc) · 1.26 KB
/
emailBody.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function getPlainBody(name, library, date){
var body = "Hi " + name + ",\n\n" + "This is a courtesy message from CLAMS to let you know your " + library + " card needs to be renewed before " + date
+ ".\n\nWe don't want you to miss out on any of your favorite books, ebooks, or DVDs. "
+ "\nPlease contact " + library + " or any CLAMS library convenient to you to update your account.\nCLAMS member libraries' locations and hours can be found "
+ "at the following link:\nhttps://library.clamsnet.org/screens/libinfo.html\n\nThank you for supporting CLAMS libraries";
return body;
}
function getHtmlBody(name, library, date){
var body = "Hi " + name + ",<br><br>" + "This is a courtesy message from CLAMS to let you know your " + library + " card needs to be renewed before " + date
+ ".<br><br>We don't want you to miss out on any of your favorite books, ebooks, or DVDs. "
+ "<br>Please contact " + library + " or any CLAMS library convenient to you to update your account.<br>CLAMS member libraries' locations and hours can be found "
+ "on <a href=\"https://library.clamsnet.org/screens/libinfo.html\">our website.</a><p>Thank you for supporting CLAMS libraries</p>";
return body
}