Exception: Send-ZHLBWEmail: Failed sending email due to The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail.
[email protected]
globalSettings__mail__smtp__host=smtp.office365.com
globalSettings__mail__smtp__port=25
globalSettings__mail__smtp__ssl=true
globalSettings__mail__smtp__username=YOUR_EMAIL
globalSettings__mail__smtp__password=YOUR_PASSWORD
pwsh -File "/opt/bitwarden/backup-bitwarden.ps1" -PasswordFile /opt/bitwarden/password_file -FinalBackupLocation /tmp -Incremental -days 14 -LogFile /opt/bitwarden/backup-bitwarden.log -SendEmail -EmailAddresses 'YOUR_EMAIL'