Skip to content

Commit fa7066c

Browse files
author
Winni Neessen
committed
Update path to sendmail binary
On most systems sendmail is located in /usr/sbin not /usr/bin
1 parent 070eb39 commit fa7066c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type Msg struct {
5858
}
5959

6060
// SendmailPath is the default system path to the sendmail binary
61-
const SendmailPath = "/usr/bin/sendmail"
61+
const SendmailPath = "/usr/sbin/sendmail"
6262

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

0 commit comments

Comments
 (0)