(data: DeliverEmail)
| 51 | } |
| 52 | |
| 53 | async send(data: DeliverEmail) { |
| 54 | const { subject, component } = this.#getTemplate(data); |
| 55 | |
| 56 | setGlobalBasePath(this.#imagesBaseUrl); |
| 57 | |
| 58 | return this.#sendEmail({ |
| 59 | to: data.to, |
| 60 | subject, |
| 61 | react: component, |
| 62 | }); |
| 63 | } |
| 64 | |
| 65 | async sendPlainText(options: SendPlainTextOptions) { |
| 66 | if (this.#client) { |
nothing calls this directly
no test coverage detected