MCPcopy
hub / github.com/opennextjs/opennextjs-cloudflare / SendEmail

Interface SendEmail

examples/prisma-7/worker-configuration.d.ts:10471–10485  ·  view source on GitHub ↗

* A binding that allows a Worker to send email messages.

Source from the content-addressed store, hash-verified

10469 * A binding that allows a Worker to send email messages.
10470 */
10471interface SendEmail {
10472 send(message: EmailMessage): Promise<EmailSendResult>;
10473 send(builder: {
10474 from: string | EmailAddress;
10475 to: string | string[];
10476 subject: string;
10477 replyTo?: string | EmailAddress;
10478 cc?: string | string[];
10479 bcc?: string | string[];
10480 headers?: Record<string, string>;
10481 text?: string;
10482 html?: string;
10483 attachments?: EmailAttachment[];
10484 }): Promise<EmailSendResult>;
10485}
10486declare abstract class EmailEvent extends ExtendableEvent {
10487 readonly message: ForwardableEmailMessage;
10488}

Callers

nothing calls this directly

Implementers 2

MemoryQueuepackages/cloudflare/src/api/overrides/
QueueCachepackages/cloudflare/src/api/overrides/

Calls

no outgoing calls

Tested by

no test coverage detected