Production release May 2024 [EXPLORE] #40
|
@ -108,6 +108,20 @@ export class Composer {
|
||||||
return email;
|
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 {
|
public static composeEmailForDevelop(contactForm: any, admins: any, user: User): Email {
|
||||||
let email: Email = new Email();
|
let email: Email = new Email();
|
||||||
email.subject = "OpenAIRE - Develop [" + properties.environment.toUpperCase() + "]";
|
email.subject = "OpenAIRE - Develop [" + properties.environment.toUpperCase() + "]";
|
||||||
|
|
Loading…
Reference in New Issue