Skip to content

Sending mail using Gmail returns error failed to connect to smtp #499

@Promzor

Description

@Promzor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions