Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the smtp integration."""
2 
3 from typing import Final
4 
5 DOMAIN: Final = "smtp"
6 
7 ATTR_IMAGES: Final = "images" # optional embedded image file attachments
8 ATTR_HTML: Final = "html"
9 ATTR_SENDER_NAME: Final = "sender_name"
10 
11 CONF_ENCRYPTION: Final = "encryption"
12 CONF_DEBUG: Final = "debug"
13 CONF_SERVER: Final = "server"
14 CONF_SENDER_NAME: Final = "sender_name"
15 
16 DEFAULT_HOST: Final = "localhost"
17 DEFAULT_PORT: Final = 587
18 DEFAULT_TIMEOUT: Final = 5
19 DEFAULT_DEBUG: Final = False
20 DEFAULT_ENCRYPTION: Final = "starttls"
21 
22 ENCRYPTION_OPTIONS: Final = ["tls", "starttls", "none"]