mirror of
https://github.com/curl/curl.git
synced 2026-06-15 03:55:37 +03:00
or higher -> or greater 12 examples
This commit is contained in:
parent
adf4e90a8f
commit
10d3b29d0f
33 changed files with 33 additions and 33 deletions
|
|
@ -33,7 +33,7 @@
|
|||
/* This is a simple example showing how to send mail using libcurl's IMAP
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
#define FROM "<sender@example.org>"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to fetch mail using libcurl's IMAP
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.66.0 or higher.
|
||||
* Note that this example requires libcurl 7.66.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to copy a mail from one mailbox folder
|
||||
* to another using libcurl's IMAP capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to create a new mailbox folder using
|
||||
* libcurl's IMAP capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to delete an existing mailbox folder
|
||||
* using libcurl's IMAP capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to obtain information about a mailbox
|
||||
* folder using libcurl's IMAP capabilities via the EXAMINE command.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to fetch mail using libcurl's IMAP
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to list the folders within an IMAP
|
||||
* mailbox.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to list the subscribed folders within
|
||||
* an IMAP mailbox.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to perform a noop using libcurl's IMAP
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to search for new messages using
|
||||
* libcurl's IMAP capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
* capabilities. It builds on the imap-fetch.c example adding transport
|
||||
* security to protect the authentication details from being snooped.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to modify an existing mail using
|
||||
* libcurl's IMAP capabilities with the STORE command.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
* capabilities. It builds on the imap-fetch.c example adding transport
|
||||
* security to protect the authentication details from being snooped.
|
||||
*
|
||||
* Note that this example requires libcurl 7.30.0 or higher.
|
||||
* Note that this example requires libcurl 7.30.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#include <curl/curl.h>
|
||||
|
||||
#if !CURL_AT_LEAST_VERSION(7, 62, 0)
|
||||
#error "this example requires curl 7.62.0 or higher"
|
||||
#error "this example requires curl 7.62.0 or greater"
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to retrieve mail using libcurl's POP3
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.66.0 or higher.
|
||||
* Note that this example requires libcurl 7.66.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to delete an existing mail using
|
||||
* libcurl's POP3 capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.26.0 or higher.
|
||||
* Note that this example requires libcurl 7.26.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example using libcurl's POP3 capabilities to list the
|
||||
* contents of a mailbox.
|
||||
*
|
||||
* Note that this example requires libcurl 7.20.0 or higher.
|
||||
* Note that this example requires libcurl 7.20.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to perform a noop using libcurl's POP3
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.26.0 or higher.
|
||||
* Note that this example requires libcurl 7.26.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to retrieve mail using libcurl's POP3
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.20.0 or higher.
|
||||
* Note that this example requires libcurl 7.20.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
* capabilities. It builds on the pop3-retr.c example adding transport
|
||||
* security to protect the authentication details from being snooped.
|
||||
*
|
||||
* Note that this example requires libcurl 7.20.0 or higher.
|
||||
* Note that this example requires libcurl 7.20.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to obtain message statistics using
|
||||
* libcurl's POP3 capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.26.0 or higher.
|
||||
* Note that this example requires libcurl 7.26.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
* capabilities. It builds on the pop3-retr.c example adding transport
|
||||
* security to protect the authentication details from being snooped.
|
||||
*
|
||||
* Note that this example requires libcurl 7.20.0 or higher.
|
||||
* Note that this example requires libcurl 7.20.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example showing how to retrieve only the headers of a mail
|
||||
* using libcurl's POP3 capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.26.0 or higher.
|
||||
* Note that this example requires libcurl 7.26.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* This is a simple example using libcurl's POP3 capabilities to list the
|
||||
* contents of a mailbox by unique ID.
|
||||
*
|
||||
* Note that this example requires libcurl 7.26.0 or higher.
|
||||
* Note that this example requires libcurl 7.26.0 or greater.
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
* This is a simple example show how to send an email using libcurl's SMTP
|
||||
* capabilities.
|
||||
*
|
||||
* Note that this example requires libcurl 7.66.0 or higher.
|
||||
* Note that this example requires libcurl 7.66.0 or greater.
|
||||
*/
|
||||
|
||||
/* The libcurl options want plain addresses, the viewable headers in the mail
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
*
|
||||
* Notes:
|
||||
*
|
||||
* 1) This example requires libcurl 7.34.0 or higher.
|
||||
* 1) This example requires libcurl 7.34.0 or greater.
|
||||
* 2) Not all email servers support this command.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
* capabilities. For an example of using the multi interface please see
|
||||
* smtp-multi.c.
|
||||
*
|
||||
* Note that this example requires libcurl 7.56.0 or higher.
|
||||
* Note that this example requires libcurl 7.56.0 or greater.
|
||||
*/
|
||||
|
||||
#define FROM "<sender@example.org>"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
* and, more importantly, transport security to protect the authentication
|
||||
* details from being snooped.
|
||||
*
|
||||
* Note that this example requires libcurl 7.20.0 or higher.
|
||||
* Note that this example requires libcurl 7.20.0 or greater.
|
||||
*/
|
||||
|
||||
#define FROM_MAIL "<sender@example.com>"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
* and, more importantly, transport security to protect the authentication
|
||||
* details from being snooped.
|
||||
*
|
||||
* Note that this example requires libcurl 7.20.0 or higher.
|
||||
* Note that this example requires libcurl 7.20.0 or greater.
|
||||
*/
|
||||
|
||||
#define FROM_MAIL "<sender@example.com>"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
*
|
||||
* Notes:
|
||||
*
|
||||
* 1) This example requires libcurl 7.34.0 or higher.
|
||||
* 1) This example requires libcurl 7.34.0 or greater.
|
||||
* 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 does not exist.
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
* An SSL-enabled libcurl is required for this sample to work (at least one
|
||||
* SSL backend has to be configured).
|
||||
*
|
||||
* **** This example only works with libcurl 7.56.0 or higher! ****
|
||||
* **** This example only works with libcurl 7.56.0 or greater! ****
|
||||
*/
|
||||
|
||||
int main(int argc, const char **argv)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
#include <curl/curl.h>
|
||||
|
||||
#if !CURL_AT_LEAST_VERSION(7, 80, 0)
|
||||
#error "this example requires curl 7.80.0 or higher"
|
||||
#error "this example requires curl 7.80.0 or greater"
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue