Email Clients for rust
Description
This provides user with easy to use email clients collection in rust. You can choose one or more of the email client and use this library to send emails easily.
Features
- Terminal client for local development
- Memory client for test cases
- SMTP client with tls and starttls, local support
- Mailersend configuration
- Easy configuration management
Installation
You can add this library to your project using
$ cargo add email_clients
Usage
For quick start, you can do the following: Based on the email client you want to support, you need to initialize email configuration as below:
async
Testing
The tests here needs an open mail server listening locally on port 2525. You can do so using:
$ python -m smtpd -n -c DebuggingServer 127.0.0.1:2525