Skip to content

Commit

Permalink
Update path to sendmail binary
Browse files Browse the repository at this point in the history
On most systems sendmail is located in /usr/sbin not /usr/bin
  • Loading branch information
wneessen committed May 25, 2022
1 parent 070eb39 commit fa7066c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type Msg struct {
}

// SendmailPath is the default system path to the sendmail binary
const SendmailPath = "/usr/bin/sendmail"
const SendmailPath = "/usr/sbin/sendmail"

// MsgOption returns a function that can be used for grouping Msg options
type MsgOption func(*Msg)
Expand Down

0 comments on commit fa7066c

Please sign in to comment.