projectdiscovery / notify

Notify is a Go-based assistance package that enables you to stream the output of several tools (or read from a file) and publish it to a variety of supported platforms.

Home Page:https://projectdiscovery.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMTP provider does not allow to configure UseStartTLS

S0obi opened this issue · comments

Please describe your feature request:

Even if the shoutrrr library does support this configuration, it's not possible to easily configure it with notify.

Currently, we are using an ugly hack by injecting this parameter into the subject variable:

  - id: email
    smtp_server: smtpinternal.test.test
    smtp_username: ""
    smtp_password: ""
    from_address: no-reply@test.com
    smtp_cc:
      - test@test.com
    smtp_format: "{{data}}"
    subject: "Test&UseStartTLS=false"

Describe the use case of this feature:

This feature will allow to configure easily the UseStartTLS parameter.

I will propose a PR closing this issue this week tentatively.