userver icon indicating copy to clipboard operation
userver copied to clipboard

Add support for SMTP (sending emails)

Open root-kidik opened this issue 2 years ago • 1 comments

VMime mailio libquickmail NwSMTP pure curl

root-kidik avatar Apr 14 '24 03:04 root-kidik

userver uses libcurl for HTTP client. libcurl also supports SMTP, but this support is not exposed in userver (one, two, three).


There is no workaround to this missing support. Basically the alternatives are to either contribute this, or use another service based on another server framework for sending emails. A random lib cannot be used with userver, because it blocks thread, and a proper integration might be more difficult than exposing the necessary libcurl features.

Anton3 avatar Nov 17 '24 07:11 Anton3