MCPcopy
hub / github.com/triggerdotdev/trigger.dev / sendPlainText

Method sendPlainText

packages/emails/src/index.tsx:65–77  ·  view source on GitHub ↗
(options: SendPlainTextOptions)

Source from the content-addressed store, hash-verified

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;

Callers 1

sendPlainTextEmailFunction · 0.80

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected