iris icon indicating copy to clipboard operation
iris copied to clipboard

Sending mail using Gmail returns error failed to connect to smtp

Open Promzor opened this issue 6 years ago • 1 comments

when entering credentials in the ./config/config.dev.yaml file for the iris_smtp once firing up the sender and creating an incident, the output received is:

File "/home/user1/iris/src/iris/vendors/iris_smtp.py", line 148, in send_email raise Exception('Failed to get smtp connection.') Exception: Failed to get smtp connection.

Example yaml file

I tried different port, also changed on googleaccount to allow "unsafe" third party tools to send mails. I also played with the login information where username entered withouth @gmail.com etc.

Promzor avatar Mar 20 '19 10:03 Promzor

remove smtp_gateway and try.

adityavijjanT avatar Apr 22 '19 06:04 adityavijjanT