aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-01-05 22:59:29 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-05 23:00:56 +0000
commitfc0b4b0d3141f20435bef35338248af077a9ed54 (patch)
tree68dbe3028fe0ab8249441a68325c1253e82e823a /docs/examples
parent619d1704ae04e1baa37b50744c3c778cc1978b5b (diff)
examples: Added required libcurl version information to SMTP examples
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/smtp-expn.c2
-rw-r--r--docs/examples/smtp-mail.c2
-rw-r--r--docs/examples/smtp-multi.c10
-rw-r--r--docs/examples/smtp-ssl.c2
-rw-r--r--docs/examples/smtp-tls.c2
-rw-r--r--docs/examples/smtp-vrfy.c2
6 files changed, 14 insertions, 6 deletions
diff --git a/docs/examples/smtp-expn.c b/docs/examples/smtp-expn.c
index 2e8649e14..0322d2fc5 100644
--- a/docs/examples/smtp-expn.c
+++ b/docs/examples/smtp-expn.c
@@ -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.
*/
diff --git a/docs/examples/smtp-mail.c b/docs/examples/smtp-mail.c
index a76af2289..d23798534 100644
--- a/docs/examples/smtp-mail.c
+++ b/docs/examples/smtp-mail.c
@@ -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)
diff --git a/docs/examples/smtp-multi.c b/docs/examples/smtp-multi.c
index 7394f1ea8..005a15f61 100644
--- a/docs/examples/smtp-multi.c
+++ b/docs/examples/smtp-multi.c
@@ -19,13 +19,15 @@
* 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.
*/
diff --git a/docs/examples/smtp-ssl.c b/docs/examples/smtp-ssl.c
index 0d8a64b53..3402ad42b 100644
--- a/docs/examples/smtp-ssl.c
+++ b/docs/examples/smtp-ssl.c
@@ -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>"
diff --git a/docs/examples/smtp-tls.c b/docs/examples/smtp-tls.c
index 67b4330f1..4e610d9ac 100644
--- a/docs/examples/smtp-tls.c
+++ b/docs/examples/smtp-tls.c
@@ -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>"
diff --git a/docs/examples/smtp-vrfy.c b/docs/examples/smtp-vrfy.c
index b45747801..4e44cea96 100644
--- a/docs/examples/smtp-vrfy.c
+++ b/docs/examples/smtp-vrfy.c
@@ -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.