On Wednesday, December 22, 2010 08:32:30 am Alex Solanos wrote: > "Message-ID: <[email protected] Note that there is a bug in the example code you've copied this from. Sorry about that.
Brad
From c7adffc6b28ead0ba111c9d6c8c126ddf60ee915 Mon Sep 17 00:00:00 2001 From: Brad Hards <[email protected]> Date: Wed, 22 Dec 2010 11:57:48 +1100 Subject: [PATCH] Fix missing endline. Without this you won't get the next (Subject) line. --- docs/examples/smtp-tls.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/docs/examples/smtp-tls.c b/docs/examples/smtp-tls.c index a8baade..97119c5 100644 --- a/docs/examples/smtp-tls.c +++ b/docs/examples/smtp-tls.c @@ -25,7 +25,7 @@ static const char *payload_text[]={ "To: " TO "\n", "From: " FROM "(Example User)\n", "Cc: " CC "(Another example User)\n", - "Message-ID: <[email protected]>", + "Message-ID: <[email protected]>\n", "Subject: SMTP TLS example message\n", "\n", /* empty line to divide headers from body, see RFC5322 */ "The body of the message starts here.\n", -- 1.7.1
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
