app_server.configuration.mail package

Submodules

Module contents

Module

__init__.py

Copyright

Copyright (C) 2017 - 2024 Vladimir Roncevic <elektron.ronca@gmail.com> config_flask is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. config_flask is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Info

Defines class BaseConfig with attribute(s) and method(s). Base initial configuration for mail service.

class app_server.configuration.mail.BaseConfig[source]

Bases: object

Defines class BaseConfig with attribute(s) and method(s). Base initial configuration for mail service.

It defines:

attributes:
MAIL_SERVER - Mail server (default: Google).
MAIL_PORT - Mail port.
MAIL_USE_SSL - Use SSL (True/False).
methods:
None
MAIL_PORT: int = 465
MAIL_SERVER: str = 'smtp.gmail.com'
MAIL_USE_SSL: bool = True