examples: Added required libcurl version information to SMTP examples
authorSteve Holme <steve_holme@hotmail.com>
Sun, 5 Jan 2014 22:59:29 +0000 (22:59 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 5 Jan 2014 23:00:56 +0000 (23:00 +0000)
docs/examples/smtp-expn.c
docs/examples/smtp-mail.c
docs/examples/smtp-multi.c
docs/examples/smtp-ssl.c
docs/examples/smtp-tls.c
docs/examples/smtp-vrfy.c

index 2e8649e14d5987e8393429c358251c777ff21ace..0322d2fc5a716faeb2fc8d0300f254de87c63540 100644 (file)
@@ -27,7 +27,7 @@
  *
  * Notes:
  *
- * 1) This example requires libcurl v7.34.0 or above.
+ * 1) This example requires libcurl 7.34.0 or above.
  * 2) Not all email servers support this command.
  */
 
index a76af22896590d83e1b5e633b04593a73d995c7b..d23798534168584c3eb7846a15984e3ec736297a 100644 (file)
@@ -26,6 +26,8 @@
 /* This is a simple example showing how to send mail using libcurl's SMTP
  * capabilities. For an exmaple of using the multi interface please see
  * smtp-multi.c.
+ *
+ * Note that this example requires libcurl 7.20.0 or above.
  */
 
 int main(void)
index 7394f1ea825c9fe40b23437b4b4899cf500e7829..005a15f61d7d28d45e7a056d4b4401636d8c8275 100644 (file)
  * KIND, either express or implied.
  *
  ***************************************************************************/
-/* This is an example application source code sending SMTP mail using the
- * multi interface.
- */
-
 #include <string.h>
 #include <curl/curl.h>
 
+/* This is an example showing how to send mail using libcurl's SMTP
+ * capabilities via the multi interface.
+ *
+ * Note that this example requires libcurl 7.20.0 or above.
+ */
+
 /*
  * This is the list of basic details you need to tweak to get things right.
  */
index 0d8a64b53b8a2836659a0fa0abb9f19435864234..3402ad42b5def7cc4929fd4df0fa85b62931ce65 100644 (file)
@@ -27,6 +27,8 @@
  * capabilities. It builds on the smtp-mail.c example to add authentication
  * and, more importantly, transport security to protect the authentication
  * details from being snooped.
+ *
+ * Note that this example requires libcurl 7.20.0 or above.
  */
 
 #define FROM    "<sender@example.org>"
index 67b4330f1c1db6d97e59ce3c064f2fa9c329beae..4e610d9acb413d7033b7b4e0d210fb96e19ebde3 100644 (file)
@@ -27,6 +27,8 @@
  * capabilities. It builds on the smtp-mail.c example to add authentication
  * and, more importantly, transport security to protect the authentication
  * details from being snooped.
+ *
+ * Note that this example requires libcurl 7.20.0 or above.
  */
 
 #define FROM    "<sender@example.org>"
index b45747801872bf0e7ea60f70bb70a62bcfd4a4ac..4e44cea96807561c0c3cd9ea6b99460c6295186f 100644 (file)
@@ -28,7 +28,7 @@
  *
  * Notes:
  *
- * 1) This example requires libcurl v7.34.0 or above.
+ * 1) This example requires libcurl 7.34.0 or above.
  * 2) Not all email servers support this command and even if your email server
  *    does support it, it may respond with a 252 response code even though the
  *    address doesn't exist.