@Martix1980 wrote:
hello everyone here’s how to configure the sending of SMTP mail with outlook.com
configuration.yaml :
notify: - platform: smtp name: smtpmail server: smtp.office365.com port: 587 timeout: 15 sender: !secret notification_sender starttls: true username: !secret notification_username password: !secret notification_password recipient: - !secret notification_recipient sender_name: My Home Assistant
and in secrets.yaml
notification_sender: YOURMAIL notification_username: YOURMAIL notification_password: YOURPASSWORD notification_recipient: YOURMAIL
To create a new app password for an app or device, take the following steps. You can repeat these steps to create an app password for as many apps or devices as you need.
- Go to the Security basics page and sign in to your Microsoft account.
- Select More security options .
- Under App passwords , select Create a new app password . A new app password is generated and appears on your screen.
- Enter this app password where you would enter your normal Microsoft account password in YOURPASSWORD.
Posts: 1
Participants: 1