dynmail
v1.0.6
Published
A modern and dynamic Email SDK written in TypeScript
Maintainers
Readme
Installation
npm install dynmail # bun, pnpm, yarnUsage
import { dymail, resend, sender } from 'dynmail'
const mail = dymail({
providers: [resend()],
senders: [
sender({
name: 'Support',
from: '[email protected]'
})
]
})
await mail.send({
to: '[email protected]',
subject: 'Welcome to MyApp',
body: '<h1>Welcome to MyApp</h1>'
})To learn more about the usage, check out the documentation.
Contribution
Contributions are welcome! Specifically, you can help with:
- Adding new providers
- Improving the documentation
- Fixing bugs (or opening issues)
License
This project is licensed under the MIT License.
