[FE] Integrated alerting - Sending email using gmail fails
General
Escalation
General
Escalation
Description
How to test
None
How to document
None
Attachments
2
- 22 Nov 2021, 09:14 AM
- 22 Nov 2021, 09:13 AM
clones
Smart Checklist
Activity
Show:
Zoriana Stefanyshyn November 22, 2021 at 9:14 AM
Verified on pmm-server-fb:PR-2146-41b4a40
Done
Details
Details
Assignee
Fábio Da Silva
Fábio Da SilvaReporter
Maksym Hilliaka
Maksym Hilliaka(Deactivated)Priority
Needs QA
Yes
Fix versions
Story Points
1
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created November 8, 2021 at 4:20 PM
Updated March 6, 2024 at 1:55 AM
Resolved November 23, 2021 at 10:00 AM
Original report:
I configured the Communication to send email using gmail and I'm getting this error in the log:
msg="Notify attempt failed, will retry later" attempts=13 err="send MAIL command: 530 5.7.0 Must issue a STARTTLS command
first. c16sm3151674wrw.89 - gsmtp"
User Impact:
Users can't use Gmail or another SMTP service on the nonstandard port to send emails in Alerting.
Steps to reproduce:
Configure SMTP settings using 587 port
Emulate some Alert in PMM and try to use the email channel to receive notification about it
Actual result:
Notify attempt failed, will retry later" attempts=13 err="send MAIL command: 530 5.7.0 Must issue a STARTTLS command
first. c16sm3151674wrw.89 - gsmtp"
Expected result:
Email is sent
Solution:
Add an additional flag to require the SMTP TLS in the modal form where we configure the SMTP settings.