Technology
Email Notifications
Ask AI
How to configure the SMTP provider Corridor uses to send email notifications for platform events.
Corridor provides an option to send email notifications to the user on their registered email id when an event occurs on the platform (e.g. completion of simulation, approval request for an object).
The different events for which notifications are triggered on the Platform:
- Completion or failure of job run
- Workflow Status change of an object
- Review status changes or comments added during approval process
- Sharing of an object
Configuration
Section titled “Configuration”The email notifications can be configured in the api_config.py file with the parameter: NOTIFICATION_PROVIDERS.
The value should be a dictionary with the key being email.
The value for email should be a dictionary again with the email configuration details.
The email configuration details include:
from: The email id from which the notifications are to be sentusername: Username corresponding to the email idpassword: The password for the email idhost: The host of the SMTP serverport: The port number to usessl: Should ssl be usedhtml: Should the email be parsed as an HTML file
Example
Section titled “Example”NOTIFICATION_PROVIDERS = { 'email': { 'username': 'user', 'password': 'password', 'host': 'smtp.server.com', 'port': 465, 'ssl': True, 'html': True, },}Was this page helpful?
Thanks for the feedback.