Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Simple email sending library for Node.js, Deno, Bun, and edge functions
Compares two priority levels and returns a number indicating their relative order.
Creates a new email Message based on the provided constructor parameters. This function provides a more convenient API for creating messages compared to constructing a Message object directly.
A type alias for email address strings that must contain an @ symbol.
Formats an address object into a string representation. This function is an inverse of the parseAddress function.
Represents the headers of an email message. This type is a supertype of
the standard Headers class, which is used to manage HTTP headers.
Note that this type does not include methods for modifying the headers,
such as append, delete, or set. It is intended to be used for
read-only access to the headers of an email message.
Checks if the provided value is an Attachment object.
Type guard function that checks if a given value is a valid email address.
Represents an email message with various properties such as sender, recipients, subject, content, and attachments.
A constructor interface for creating a new email message using the createMessage function.
Represents the content of an email message, which can be either HTML
or plain text. The html property is optional, and if it is
provided, the text property may also be included for
compatibility with email clients that do not support HTML.
Parses a string representation of an email address into an Address object. This function is an inverse of the formatAddress function.
The priority levels for email messages.
The response from the email service after sending an email message.
A type alias for email address strings that must contain an @ symbol.
Formats an address object into a string representation. This function is an inverse of the parseAddress function.
Type guard function that checks if a given value is a valid email address.
Parses a string representation of an email address into an Address object. This function is an inverse of the formatAddress function.
Checks if the provided value is an Attachment object.
Creates a new email Message based on the provided constructor parameters. This function provides a more convenient API for creating messages compared to constructing a Message object directly.
Represents the headers of an email message. This type is a supertype of
the standard Headers class, which is used to manage HTTP headers.
Note that this type does not include methods for modifying the headers,
such as append, delete, or set. It is intended to be used for
read-only access to the headers of an email message.
Represents an email message with various properties such as sender, recipients, subject, content, and attachments.
A constructor interface for creating a new email message using the createMessage function.
Represents the content of an email message, which can be either HTML
or plain text. The html property is optional, and if it is
provided, the text property may also be included for
compatibility with email clients that do not support HTML.
Compares two priority levels and returns a number indicating their relative order.
The priority levels for email messages.
The response from the email service after sending an email message.