- Setup Methods
- Package enables sending emails from Meteor apps
- MAIL_URL environment variable can be used for SMTP server configuration
- Package supports both SMTP and SMTPs protocols
- Package settings available since Email v2.2
- Core Functionality
- Email.send sends emails asynchronously
- All fields must match RFC5322 specification
- Package based on nodemailer for email handling
- Supports plain text and HTML email bodies
- Advanced Features
- Email.sendAsync returns Promise for asynchronous sending
- Email.hookSend allows custom email sending before sending
- Email.customTransport enables using custom mail servers
- Package settings can be passed to custom transport functions
- Security
- Package supports email signing with public keys
- Server must handle mail server connection errors
- Client-side email sending should be limited to prevent spam