[Ang16 | WIP] add new email composer for Develop project
This commit is contained in:
parent
f6e927f4c2
commit
b69e19fa17
|
@ -93,6 +93,18 @@ export class Composer {
|
|||
return email;
|
||||
}
|
||||
|
||||
public static composeEmailForDevelop(contactForm: any, admins: any): Email {
|
||||
let email: Email = new Email();
|
||||
|
||||
email.subject = "OpenAIRE - Develop [" + properties.environment.toUpperCase() + "]";
|
||||
email.body = "<div style='font-size:" + this.noteBodySize + "'>"
|
||||
+ "<span><b>Subject</b>: " + (contactForm.subject ? contactForm.subject : '-') + "</span><br>"
|
||||
+ "<p>" + contactForm.message + "</p>"
|
||||
+ "</div>";
|
||||
email.recipients = admins;
|
||||
return email;
|
||||
}
|
||||
|
||||
public static composeEmailForUsageCounts(contactForm: any, admins: any): Email {
|
||||
let email: Email = new Email();
|
||||
|
||||
|
|
Loading…
Reference in New Issue