letterbuilder
v0.0.4
Published
Build RFC 5322 complaint messages.
Downloads
29
Maintainers
Readme
letterbuilder is a library created for building RFC 5322 compliant e-mail messages. The library is written in TypeScript, fully supports both browser and server environments.
| Parser | SMTP client/server | | ------------------------------------------------------ | -------------------------------------------------- | | letterparser | @typemail/smtp |
Usage
General information
To build the message, use build
:
import { build } from 'letterbuilder';
let res = build({
from: '[email protected]',
to: ['[email protected]'],
text: 'Hello, world!',
});