YoRyan / mailrise

An SMTP gateway for Apprise notifications.
https://mailrise.xyz
MIT License
872 stars 35 forks source link

SMTP Basic authentication not working? #102

Open radhakrisri opened 9 months ago

radhakrisri commented 9 months ago

My mailrise config is thus:

configs:
  # You can send to this config with "telegram@mailrise.xyz".
  #
  telegram:
    urls:
      - tgram://<mytgramtoken>/mychatid/
    # You can also control the layout of the message with custom template
    # strings.
    # mailrise:
    #   title_template: "Urgent: ${body}"
    #   body_template: ""
    #   body_format: text
  pover:
    urls:
      - pover://<mypushoverid>
smtp:
  auth:
    basic:
      myusername:mypassword

As you can see, I have smtp auth specified above. However, the following command works, even when no authentication details are passed in.

sendemail -f someone@somewhere.com -t telegram@mailrise.xyz -u "Test Email 2" -m "Hello World!" -s 192.168.x.x:8025

Any idea what's going on? How can I verify smtp authentication is working as expected?

Radha.

YoRyan commented 9 months ago

Probably a bug; will investigate and test. Thanks for reporting.