Skip to content

Commit

Permalink
Document default Dialer.RetryFailure
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy committed Dec 7, 2017
1 parent 45ab546 commit 0fb8809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ type Dialer struct {
// Timeout to use for read/write operations. Defaults to 10 seconds, can
// be set to 0 to disable timeouts.
Timeout time.Duration
// Whether we should retry mailing if the connection returned an error.
// Whether we should retry mailing if the connection returned an error,
// defaults to true.
RetryFailure bool
}

Expand Down

0 comments on commit 0fb8809

Please sign in to comment.