Email tutorials#
Note
In order to quickly receive feedback if anything goes wrong, ADE Scheduler will send you an email everytime an error occurs. This can be, of course, disabled to avoid email spamming. This email address can also be used to send account confirmation emails.
Table of content
Email setup#
Note
Before running into the other tutorials, you should go through this one in order to setup all you need for the feedback system to work properly. As ADE Scheduler is hosted on a UNIX system machine, this tutorial will use the same commands as UNIX / LINUX system machines. No current support is provided for Windows users.
Warning
Make sure to never commit your <repo>/.flaskenv file on Github! It should
stay secret and the <repo>/.gitignore file should prevent you from doing
that.
I. With credentials#
Here, you will allow ADE Scheduler to send emails using your email address. You may need to allow third-party applications to let ADE Schedule use your email address. Please refer to your email provider documentation if so. If you do not want to use the emails, please read next section.
In the <repo>/.flaskenv file, make sure to write those lines and complete with
your
credentials:
MAIL_USERNAME = <email address>
MAIL_PASSWORD = <password>
II. Without credentials#
In the <repo>/.flaskenv file, make sure to write those lines:
MAIL_USERNAME = <leave empty>
MAIL_PASSWORD = <leave empty>
MAIL_DISABLE = true
1. Disable error emails#
In the <repo>/.flaskenv file, add this line:
MAIL_SEND_ERRORS = false