28 lines
483 B
JavaScript
28 lines
483 B
JavaScript
|
const {
|
||
|
sender,
|
||
|
receiver,
|
||
|
senderUsername,
|
||
|
receiver,
|
||
|
meetingTitle,
|
||
|
meetingID,
|
||
|
signature,
|
||
|
appURL,
|
||
|
} = require('../emailConfigs');
|
||
|
|
||
|
let meetingInvite = {
|
||
|
from: sender,
|
||
|
to: receiver,
|
||
|
subject: `Invitation | ${meetingTitle}`,
|
||
|
text: `Hi,
|
||
|
\n
|
||
|
${senderUsername} invites you to participate to the poll '${meetingTitle}'.
|
||
|
\n
|
||
|
To participate, please fill in you availability: ${meetingURL}/meetings/${meetingID}
|
||
|
\n
|
||
|
Have a beautiful day,
|
||
|
\n
|
||
|
${signature} | ${appURL}
|
||
|
\n
|
||
|
`,
|
||
|
};
|