Skip to content

Commit

Permalink
readme: make it clearer Client.SendMail doesn't use TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion authored Nov 3, 2021
1 parent 1285dc3 commit 30169ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

func main() {
// Set up authentication information.
// Setup authentication information.
auth := sasl.NewPlainClient("", "[email protected]", "password")

// Connect to the server, authenticate, set the sender and recipient,
Expand Down Expand Up @@ -60,8 +60,8 @@ import (
)

func main() {
// Setup connection to mail server, return Client instance
c, err := smtp.Dial("mail.example.com:25")
// Setup an unencrypted connection to a local mail server.
c, err := smtp.Dial("localhost:25")
if err != nil {
return err
}
Expand Down

0 comments on commit 30169ac

Please sign in to comment.