This guide explains how to configure email sending using BW.Framework's EmailGroup system.
Configuration
SMTP settings are configured in the BW.Framework settings file for your application.
Common SMTP Providers
| Provider |
Server |
Port |
| Gmail |
smtp.gmail.com |
587 (TLS) |
| Outlook/Office 365 |
smtp.office365.com |
587 (TLS) |
| SendGrid |
smtp.sendgrid.net |
587 (TLS) |
Troubleshooting
- EMAIL_SMTP_NOT_CONFIGURED
- SMTP server settings are not configured. Configure your SMTP server in
appsettings.json.
- Authentication Failed
- Check your username and password. For Gmail, you may need an App Password.
- Connection Timeout
- Check firewall settings and ensure the SMTP port is not blocked.