mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:33:39 +03:00
curl: Added support for --mail-auth
Added an extra command-line argument to support the optional AUTH parameter in SMTPs MAIL FROM command.
This commit is contained in:
parent
674699b212
commit
a053560cfa
5 changed files with 11 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ static const struct LongShort aliases[]= {
|
|||
{"$E", "proto-redir", TRUE},
|
||||
{"$F", "resolve", TRUE},
|
||||
{"$G", "delegation", TRUE},
|
||||
{"$H", "mail-auth", TRUE},
|
||||
{"0", "http1.0", FALSE},
|
||||
{"1", "tlsv1", FALSE},
|
||||
{"2", "sslv2", FALSE},
|
||||
|
|
@ -813,6 +814,9 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
case 'G': /* --delegation LEVEL */
|
||||
config->gssapi_delegation = delegation(config, nextarg);
|
||||
break;
|
||||
case 'H': /* --mail-auth */
|
||||
GetStr(&config->mail_auth, nextarg);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case '#': /* --progress-bar */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue