tests: Updated email addresses in SMTP tests following recent changes
This commit is contained in:
@@ -32,7 +32,7 @@ To: another
|
||||
body
|
||||
</file>
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt 1406@example.com --mail-rcpt 1406@foobar.example.com --mail-from 1406@example.com -T log/test1406.eml --libcurl log/test1406.c
|
||||
smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt recipient.one@example.com --mail-rcpt recipient.two@example.com --mail-from sender@example.com -T log/test1406.eml --libcurl log/test1406.c
|
||||
</command>
|
||||
</client>
|
||||
|
||||
@@ -41,9 +41,9 @@ smtp://%HOSTIP:%SMTPPORT/1406 --mail-rcpt 1406@example.com --mail-rcpt 1406@foob
|
||||
<verify>
|
||||
<protocol>
|
||||
EHLO 1406
|
||||
MAIL FROM:<1406@example.com> SIZE=38
|
||||
RCPT TO:<1406@example.com>
|
||||
RCPT TO:<1406@foobar.example.com>
|
||||
MAIL FROM:<sender@example.com> SIZE=38
|
||||
RCPT TO:<recipient.one@example.com>
|
||||
RCPT TO:<recipient.two@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@example.com");
|
||||
slist1 = curl_slist_append(slist1, "1406@foobar.example.com");
|
||||
slist1 = curl_slist_append(slist1, "recipient.one@example.com");
|
||||
slist1 = curl_slist_append(slist1, "recipient.two@example.com");
|
||||
|
||||
hnd = curl_easy_init();
|
||||
curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38);
|
||||
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
|
||||
curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
|
||||
curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
|
||||
curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
|
||||
curl_easy_setopt(hnd, CURLOPT_MAIL_FROM, "1406@example.com");
|
||||
curl_easy_setopt(hnd, CURLOPT_MAIL_FROM, "sender@example.com");
|
||||
curl_easy_setopt(hnd, CURLOPT_MAIL_RCPT, slist1);
|
||||
|
||||
/* Here is a list of options the curl code used that cannot get generated
|
||||
|
||||
Reference in New Issue
Block a user