alepha@docs:~/docs/packages/alepha/email$
cat smtp.md1 min read
Last commit:
#Alepha - Email Smtp
#Installation
Part of the alepha package. Import from alepha/email/smtp.
npm install alepha
#Overview
Plugin for Alepha Email that provides SMTP capabilities via Nodemailer.
#API Reference
#Providers
NodemailerEmailProvider— Email provider using Nodemailer for SMTP transport.
#Environment Variables
Environment variables used to configure this module. These can be set in your .env file or through your deployment configuration.
| Variable | Type | Default | Description |
|---|---|---|---|
EMAIL_FROM |
text | - | Default from email address |
EMAIL_HOST |
text | - | SMTP server host |
EMAIL_PASS |
text | - | SMTP authentication password |
EMAIL_PORT |
number | 587 | SMTP server port |
EMAIL_SECURE |
boolean | false | Use secure connection (TLS) |
EMAIL_USER |
text | - | SMTP authentication username |