(data: DeliverEmail)
| 47 | } |
| 48 | |
| 49 | async send(data: DeliverEmail) { |
| 50 | const { subject, component } = this.#getTemplate(data); |
| 51 | |
| 52 | setGlobalBasePath(this.#imagesBaseUrl); |
| 53 | |
| 54 | return await this.#transport.send({ |
| 55 | to: data.to, |
| 56 | subject, |
| 57 | react: component, |
| 58 | from: this.#from, |
| 59 | replyTo: this.#replyTo, |
| 60 | }); |
| 61 | } |
| 62 | |
| 63 | async sendPlainText(options: SendPlainTextOptions) { |
| 64 | await this.#transport.sendPlainText({ |
nothing calls this directly
no test coverage detected