mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
examples: Added required libcurl version information to SMTP examples
This commit is contained in:
parent
619d1704ae
commit
fc0b4b0d31
@ -27,7 +27,7 @@
|
|||||||
*
|
*
|
||||||
* Notes:
|
* 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.
|
* 2) Not all email servers support this command.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -26,6 +26,8 @@
|
|||||||
/* This is a simple example showing how to send mail using libcurl's SMTP
|
/* 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
|
* capabilities. For an exmaple of using the multi interface please see
|
||||||
* smtp-multi.c.
|
* smtp-multi.c.
|
||||||
|
*
|
||||||
|
* Note that this example requires libcurl 7.20.0 or above.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
|
@ -19,13 +19,15 @@
|
|||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
/* This is an example application source code sending SMTP mail using the
|
|
||||||
* multi interface.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <curl/curl.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.
|
* This is the list of basic details you need to tweak to get things right.
|
||||||
*/
|
*/
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
* capabilities. It builds on the smtp-mail.c example to add authentication
|
* capabilities. It builds on the smtp-mail.c example to add authentication
|
||||||
* and, more importantly, transport security to protect the authentication
|
* and, more importantly, transport security to protect the authentication
|
||||||
* details from being snooped.
|
* details from being snooped.
|
||||||
|
*
|
||||||
|
* Note that this example requires libcurl 7.20.0 or above.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FROM "<sender@example.org>"
|
#define FROM "<sender@example.org>"
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
* capabilities. It builds on the smtp-mail.c example to add authentication
|
* capabilities. It builds on the smtp-mail.c example to add authentication
|
||||||
* and, more importantly, transport security to protect the authentication
|
* and, more importantly, transport security to protect the authentication
|
||||||
* details from being snooped.
|
* details from being snooped.
|
||||||
|
*
|
||||||
|
* Note that this example requires libcurl 7.20.0 or above.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FROM "<sender@example.org>"
|
#define FROM "<sender@example.org>"
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* Notes:
|
* 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
|
* 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
|
* does support it, it may respond with a 252 response code even though the
|
||||||
* address doesn't exist.
|
* address doesn't exist.
|
||||||
|
Loading…
Reference in New Issue
Block a user