Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ssmtp.8
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ Forces ssmtp to use IPv4 addresses only.
.B \-6
Forces ssmtp to use IPv6 addresses only.

.TP
\fB\-B\fP \fIbody_type\fP
(ignored) The message body MIME type: 7BIT or 8BITMIME.

.TP
\fB\-au\fP\fIusername\fP
Specifies username for SMTP authentication.
Expand Down
10 changes: 10 additions & 0 deletions ssmtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1839,6 +1839,16 @@ char **parse_options(int argc, char *argv[])
paq("-bz is meaningless to sSMTP\n");
}

/* Body type*/
case 'B':
if(!argv[i][j+1]) {
add++;
goto exit;
}
else {
continue;
}

/* Configfile name */
case 'C':
if((!argv[i][(j + 1)]) && argv[(i + 1)]) {
Expand Down