diff --git a/src/mail.js b/src/mail.js index dbea9a6..0248b7e 100644 --- a/src/mail.js +++ b/src/mail.js @@ -21,15 +21,14 @@ class Mail { sendMail = message => this.transporter.sendMail(message); - sendAttachment = fileRef => { + sendAttachment = (fileRef, bodyText) => { const message = { - from: `"Fred Foo 👻" <${this.sender}>`, + from: `"ISPDowntimeMonitor" <${this.sender}>`, to: this.recipient, - subject: 'Telenor nedetid', - text: "hello wordl", - html: "
hello wordl
", + subject: 'Nedetid på ditt nett!', + html: `Melding fra telenor: