notify icon indicating copy to clipboard operation
notify copied to clipboard

smtp send mail faild

Open ltfafei opened this issue 2 years ago • 1 comments

image

ltfafei avatar Feb 02 '23 09:02 ltfafei

Same issue on v1.0.5:

[ERR] failed to send smtp notification for id: email : error getting SMTP client: error connecting to server: dial tcp IP_ADDR:25: connect: connection timed out

The problem is notify app trying to connect to port 25, which may not be correct.

To fix this, specify port in the smtp_server config. (It's not described in the README.md)

smtp:
  - id: email
    smtp_server: mail.example.com:465 << specify port here. eg., 465 or 587
    smtp_username: [email protected]
    smtp_password: password
    from_address: [email protected]
    smtp_cc:
      - [email protected]
    smtp_format: "{{data}}"
    subject: "Email subject"
    smtp_html: false
    smtp_disable_starttls: false

PoundXI avatar Dec 08 '23 16:12 PoundXI