From 879914def3db9f4139b64be20370fd65bdb1f1a4 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Sat, 25 Dec 2010 11:56:04 +1100 Subject: Use angle address, as for the rest of the example. Also spelling fix for RECIPIENT #define. --- docs/examples/smtp-multi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/examples/smtp-multi.c b/docs/examples/smtp-multi.c index e13108a43..4d1dfc4fb 100644 --- a/docs/examples/smtp-multi.c +++ b/docs/examples/smtp-multi.c @@ -21,7 +21,7 @@ #define SMTPSERVER "smtp.example.com" #define SMTPPORT ":587" /* it is a colon+port string, but you can set it to "" to use the default port */ -#define RECEPIENT "" +#define RECIPIENT "" #define MAILFROM "" #define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000 @@ -99,9 +99,9 @@ int main(void) if(!mcurl) return 2; - rcpt_list = curl_slist_append(rcpt_list, RECEPIENT); + rcpt_list = curl_slist_append(rcpt_list, RECIPIENT); /* more addresses can be added here - rcpt_list = curl_slist_append(rcpt_list, "others@example.com"); + rcpt_list = curl_slist_append(rcpt_list, ""); */ curl_easy_setopt(curl, CURLOPT_URL, "smtp://" SMTPSERVER SMTPPORT); -- cgit v1.2.3