Configuration¶
Configuration for Flask-Email-Simplified uses the following Flask config keys.
- flask_email_simplified.config.EMAIL_HANDLER¶
Selects the
EmailHandlerclass to use. By default, this is"smtp"SMTPEmailHandler.
- flask_email_simplified.config.EMAIL_¶
Any config key with the
EMAIL_prefix will be passed on to the handler’sfrom_config()method. The prefix is removed and each key is converted to lowercase. See the specific handler’s documentation for what config keys are used.
- flask_email_simplified.config.EMAIL_TESTING_KEEP_HANDLER¶
By default, when
Flask.testingisTrue, the handler will be set toTestEmailHandler. If this setting isTrue, the configured handler will be kept.