This repository is an example for sending emails using the FluentEmail library.
- SMTP server credentials (e.g., Gmail, Outlook, or custom server)
Clone the Repository:
git clone https://github.com/LinThitHtwe/FluentEmailExample.git
Configure Environment Variables: Add environment variables in a .env
file inside FluentEmail.Example.Api
project:
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL=your-email@example.com
DEFAULT_EMAIL=your-email@example.com
EMAIL_PASSWORD=your-email-password
You can check out the postman collections for calling the endpoints.