Parametry
| Název | Popis | Hodnota | Úroveň |
|---|---|---|---|
host | IP address or hostname | volitelné | |
port | Port | volitelné | |
user | Username e.g. email address, user id, etc. | volitelné | |
password | Password Service account password | volitelné | |
from | From Sender's email address. | volitelné | |
to | To Email addresses of recipients. One entry per line. | volitelné | |
fromName | Name Sender's name. | volitelné |
Příklad konfigurace pro evcc.yaml
Pokud nechcete konfigurovat přes uživatelské rozhraní, můžete místo toho použít tento blok YAML.
messaging: services: - type: template template: email host: smtp.example.com # IP address or hostname port: 465 # Port user: # Username, e.g. email address, user id, etc. password: # Password, Service account password from: john.doe@example.com # From, Sender's email address. to: # To, Email addresses of recipients. One entry per line. fromName: john # Name, Sender's name. (optional)