How to code a SMTP service in Go
Sometimes it is useful to receive data in the form of e-mails instead of having traditional HTTP(S) APIs.
A traditional case for it is handling customer replies to incident tickets, for which it is much easier for them to reply to an e-mail notification from their mailbox than it would be for them to access the ticketing system to reply.
Fortunately, Go makes it easy to write such SMTP servers, in a way which even resembles HTTP server. See how it is done.
Frédéric G. MARAND
April 13, 2023
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.