(options: SendPlainTextOptions)
| 63 | } |
| 64 | |
| 65 | async sendPlainText(options: SendPlainTextOptions) { |
| 66 | if (this.#client) { |
| 67 | await this.#client.emails.send({ |
| 68 | from: this.#from, |
| 69 | to: options.to, |
| 70 | reply_to: this.#replyTo, |
| 71 | subject: options.subject, |
| 72 | text: options.text, |
| 73 | }); |
| 74 | |
| 75 | return; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | #getTemplate(data: DeliverEmail): { |
| 80 | subject: string; |
no test coverage detected