Add task capture, work reports, daily digests and private contacts
Build and publish container images / images (push) Successful in 16m37s
Build and publish container images / images (push) Successful in 16m37s
This commit is contained in:
1 parent
50b8b0323f
commit
b4792bb175
50 files changed
+2678
-17
No files matched your search
@@ -84,6 +84,10 @@ func sendMagicLinkSMTPWithTLS(ctx context.Context, config store.AuthProviderConf
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return deliverSMTPMessage(ctx, config, host, sender, addressee, message, tlsOverride)
|
||||
}
|
||||
|
||||
func deliverSMTPMessage(ctx context.Context, config store.AuthProviderConfig, host, sender, addressee string, message []byte, tlsOverride *tls.Config) error {
|
||||
ctx, cancel := context.WithTimeout(ctx, smtpDeliveryTimeout)
|
||||
defer cancel()
|
||||
connection, err := (&net.Dialer{Timeout: 3 * time.Second}).DialContext(ctx, "tcp", config.SMTPAddress)
|
||||
|
||||
Reference in new issue
Block a user