In the latest update to my web application, I integrated SMTP and SendGrid to enhance email functionality. This allows administrators to configure email settings dynamically, select a default email provider, and send test emails from either provider—all from within the Admin panel.
SMTP Integration with Microsoft 365: The application now supports email delivery via Microsoft 365 SMTP. However, as Microsoft has deprecated Basic Authentication, I will be migrating SMTP authentication to OAuth in future updates.
SendGrid Integration: To improve email scalability and deliverability, I also integrated SendGrid. This enables API-based email sending, with settings that can be customized directly in the application.
The updated email configuration supports the following features:
Demo Data for Testing: Currently, email settings are stored as demonstration data until encryption and security enhancements are implemented. This allows testing without affecting live credentials. Future updates will secure and encrypt email configurations.
Future Plans: To further improve security and functionality, I plan to implement:
For more details on setting up SMTP and SendGrid, refer to the following resources:
Screenshots have been provided to highlight the changes and updates to the application.