ninxsoft / Kmart

A Mac command-line tool that generates kick-ass Jamf Pro reports.
MIT License
136 stars 10 forks source link

Option to Disable SMTP Auth #14

Closed TheFritz01 closed 2 years ago

TheFritz01 commented 2 years ago

Currently I don't see an option to send an E-mail via an SMTP that doesn't require authentication. Would it be possible to add a key for "require_auth" and accept a true/false value? Or just ignore auth if the username and password fields are left blank?

This is what I get when using an SMTP that doesn't require auth.

├─ Sending Report(s) via Email ├─ The operation couldn’t be completed. (Socket.Socket.Error error 1.) └─ Total Email Time: 10.1 seconds

TheFritz01 commented 2 years ago

Looking closer at this, it seems to be a limitation of "Swift-SMTP". I will go ahead and close this issue.

https://github.com/Kitura/Swift-SMTP/issues/107