mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:03:31 +03:00
tests: Fixed smtp rcpt to addresses
This commit is contained in:
parent
8880f84e1a
commit
52cefc8cd7
17 changed files with 35 additions and 36 deletions
|
|
@ -32,7 +32,7 @@ To: another
|
|||
body
|
||||
</file>
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 1406@foo --mail-rcpt 1406@foobar.example --mail-from 1406@example.com -T log/test1406.eml --libcurl log/test1406.c
|
||||
smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 1406@example.com --mail-rcpt 1406@foobar.example.com --mail-from 1406@example.com -T log/test1406.eml --libcurl log/test1406.c
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -42,8 +42,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 1406@foo --mail-rcpt 1406@foobar.examp
|
|||
<protocol>
|
||||
EHLO user
|
||||
MAIL FROM:<1406@example.com> SIZE=38
|
||||
RCPT TO:<1406@foo>
|
||||
RCPT TO:<1406@foobar.example>
|
||||
RCPT TO:<1406@example.com>
|
||||
RCPT TO:<1406@foobar.example.com>
|
||||
DATA
|
||||
QUIT
|
||||
</protocol>
|
||||
|
|
@ -68,8 +68,8 @@ int main(int argc, char *argv[])
|
|||
struct curl_slist *slist1;
|
||||
|
||||
slist1 = NULL;
|
||||
slist1 = curl_slist_append(slist1, "1406@foo");
|
||||
slist1 = curl_slist_append(slist1, "1406@foobar.example");
|
||||
slist1 = curl_slist_append(slist1, "1406@example.com");
|
||||
slist1 = curl_slist_append(slist1, "1406@foobar.example.com");
|
||||
|
||||
hnd = curl_easy_init();
|
||||
curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue