File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,10 @@ produces mail.
20
20
21
21
## Main features
22
22
23
- * Supports incoming SMTPS/TLS (465), STARTTLS (587) and unencrypted SMTP (25)
23
+ * Supports SMTPS/TLS (465), STARTTLS (587) and unencrypted SMTP (25)
24
24
* Checks for sender, receiver, client IP
25
25
* Authentication support with file (LOGIN, PLAIN)
26
26
* Enforce encryption for authentication
27
- * Supports outgoing STARTTLS (587) and unencrypted SMTP (25)
28
27
* Forwards all mail to a smarthost (GMail, MailGun or any other SMTP server)
29
28
* Small codebase (smtp-proxy ~ 250 LoC, chrj/smtpd ~ 1200 LoC)
30
29
* IPv6 support
Original file line number Diff line number Diff line change @@ -297,7 +297,8 @@ func (c *Client) Data() (io.WriteCloser, error) {
297
297
298
298
var testHookStartTLS func (* tls.Config ) // nil, except for tests
299
299
300
- // SendMail connects to the server at addr, switches to TLS if
300
+ // SendMail connects to the server at addr with TLS when port 465 or
301
+ // smtps is specified or unencrypted otherwise and switches to TLS if
301
302
// possible, authenticates with the optional mechanism a if possible,
302
303
// and then sends an email from address from, to addresses to, with
303
304
// message msg.
You can’t perform that action at this time.
0 commit comments