[develop]: Add compose mail for develop personal-info
This commit is contained in:
parent
fb34dd415e
commit
b41357c4b8
|
@ -108,6 +108,20 @@ export class Composer {
|
|||
return email;
|
||||
}
|
||||
|
||||
public static composeEmailForDevelopPersonalInfo(user: User): Email {
|
||||
let email: Email = new Email();
|
||||
email.subject = "Welcome to The OpenAIRE API mailing list";
|
||||
email.body = "<div style='font-size:" + this.noteBodySize + "'>"
|
||||
+ "<p>Dear " + user.fullname + ",</p>"
|
||||
+ "<p>As a user of the OpenAIRE APIs, you are a member of the openaire-api mailing list. " +
|
||||
" We will use this list to inform you of relevant news and updates. If you wish to unsubscribe, " +
|
||||
" please send an email to the list admin at <a href='mailto:gbikas@openaire.eu'>gbikas@openaire.eu</a> " +
|
||||
" and <a href='mailto:stefania.amodeo@openaire.eu'>stefania.amodeo@openaire.eu</a>.</p>"
|
||||
+ "<p>The OpenAIRE Graph team</p>";
|
||||
email.recipients = [user.email];
|
||||
return email;
|
||||
}
|
||||
|
||||
public static composeEmailForDevelop(contactForm: any, admins: any, user: User): Email {
|
||||
let email: Email = new Email();
|
||||
email.subject = "OpenAIRE - Develop [" + properties.environment.toUpperCase() + "]";
|
||||
|
|
Loading…
Reference in New Issue