]> granicus.if.org Git - curl/commitdiff
smtp-tls: add Message-ID: header
authorBrad Hards <bradh@frogmouth.net>
Sat, 18 Dec 2010 16:07:57 +0000 (17:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Dec 2010 16:07:57 +0000 (17:07 +0100)
docs/examples/smtp-tls.c

index 58719ade2ac3fdc6171fd90ce725fe7020d9e953..a8baade585cac4c07b60820f74446aab8007f136 100644 (file)
@@ -24,7 +24,8 @@ static const char *payload_text[]={
   "Date: Mon, 29 Nov 2010 21:54:29 +1100\n",
   "To: " TO "\n",
   "From: " FROM "(Example User)\n",
-  "Cc: " CC "(Another example User)\n"
+  "Cc: " CC "(Another example User)\n",
+  "Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@rfcpedant.example.org>",
   "Subject: SMTP TLS example message\n",
   "\n", /* empty line to divide headers from body, see RFC5322 */
   "The body of the message starts here.\n",