~bigbes/core-go

ref: bbcb2a1096d86b989e5d82dc45289daec38ba4a6 core-go/email/send.go -rw-r--r-- 3.1 KiB
bbcb2a10 — Robin Jarry 1 year, 8 months ago
email: keep smtp client connection alive

Instead of connecting and disconnecting each and every time we need to
send an email, keep the SMTP connection alive attached to a context
variable.

Before sending an email, check if the connection is still valid and
reconnect if it is not.

Signed-off-by: Robin Jarry <robin@jarry.cc>
069c77be — Drew DeVault 2 years ago
email: update StartTLS usage per go-smtp changes
f762ad22 — Peter Sanchez 4 years ago
Bugfix, mail config placed in wrong setting.
31e77bac — Peter Sanchez 4 years ago
Add support for mail setups that don't support TLS or Auth
f44afb10 — Simon Ser 4 years ago
go fmt
606ff2ef — Drew DeVault 5 years ago
Sign outgoing emails
9af62068 — Drew DeVault 5 years ago
email: remove leftover debug code
0c651498 — Drew DeVault 5 years ago
Add email work queue