Configure SMTP for outbound emails
To configure outbound email, follow these steps:
- Log in to the server console.
Edit the /opt/bitnami/apps/canvaslms/htdocs/config/outgoing_mail.yml file and update it with details for your SMTP server. For example, to configure a Gmail account, you could use the settings below. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.
production: address: smtp.gmail.com port: 587 user_name: USERNAME@gmail.com password: PASSWORD authentication: plain # plain, login, or cram_md5 domain: smtp.gmail.com outgoing_address: USERNAME@gmail.com default_name: Instructure Canvas
Save your changes.
Restart the servers.
$ sudo /opt/bitnami/ctlscript.sh restart
To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid, refer to the FAQ.
NOTE: If you are using Gmail as the outbound email server and have experienced issues trying to send emails correctly, check the Gmail SMTP troubleshooting page to learn the causes of these issues and how to solve them.