Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with Google/Gmail SMTP - Attachment blocked #33

Open
NightMean opened this issue Jan 3, 2025 · 0 comments
Open

Incompatibility with Google/Gmail SMTP - Attachment blocked #33

NightMean opened this issue Jan 3, 2025 · 0 comments

Comments

@NightMean
Copy link

Hi, I just setup Lazywarden (many thanks for the amazing tutorial on the website :) ) and I've setup the notification via Google Gmail SMTP settings. I have it functional with other services so there is no issue with that.
Lazywarden backup worked as expected however when it tried to notify me of the backup, I did not received any email as the attachment is apparently malicious.. sigh Google..

Is there any possibility to add an option to only use SMTP for notifications as e.g. Telegram/Discord/Ntfy? While other SMTP servers might work as expected, I'm only looking for an email notification as I have the backup on Google Drive.

My SMTP settings:

SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASSWORD=password123
[email protected]
[email protected]

Error log:

2025-01-03 21:44:16,403 - ERROR - SMTP error: (552, b'5.7.0 This message was blocked because its content presents a potential\n5.7.0 security issue. To review our message content and attachment content\n5.7.0 guidelines, go to\n5.7.0  https://support.google.com/mail/?p=BlockedMessage a640c23a62f3a-aac0f06fb1bsm1926288866b.191 - gsmtp')

2025-01-03 21:44:16,404 - INFO - Email with attachment sent successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant