Configuration

Configuration for Flask-Email-Simplified uses the following Flask config keys.

flask_email_simplified.config.EMAIL_HANDLER

Selects the EmailHandler class 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’s from_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.testing is True, the handler will be set to TestEmailHandler. If this setting is True, the configured handler will be kept.