diff --git a/lib/Emailer.js b/lib/Emailer.js index fa6f521..0512d80 100644 --- a/lib/Emailer.js +++ b/lib/Emailer.js @@ -266,12 +266,9 @@ class Emailer { if (typeof this.#transporter === 'undefined') await this.getTransporter(); - console.log(`Sending`); - console.log(email); - console.log(this.#host, - this.#user, - this.#password, - this.#secure); + const message = email.getMessageObject(); + + this.#transporter.sendMail(message); } /**