With the introduction of letsencrypt in PR #3534 (WIP atm) a configuration
option will be added to TO to specify the connection options for an SMTP
server for sending emails.

I'm currently in the process of re-writing /deliveryservices/request, which
sends an email as its primary functionality. AFAIK, there are two other
endpoints that do this, /users/register and /user/reset_password. The
current Perl implementation `exec`s `sendmail` to send emails without an
SMTP server. There isn't really a Go library (that I could find) that can
just directly send emails without an SMTP server to which to connect.
General sentiment is that this is what should be done, it seems, but it
means making the operation of endpoints that "just work" with a given
configuration in Perl return an error without amending said configuration.

Personally, I think that's an improvement, and a few others I've spoken
with agree. It would also line up nicely with the configuration in the
upcoming letsencrypt functionality.

tl;dr: Does anybody have a problem with requiring an external SMTP server
for the /deliveryservices/request, /users/register and /user/reset_password
endpoints?

Reply via email to