Lines Matching refs:curl_easy_setopt
99 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
100 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
106 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mainserver.example.net:587"); in main()
113 curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); in main()
126 curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem"); in main()
135 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM_MAIL); in main()
142 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); in main()
147 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); in main()
148 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
149 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
155 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); in main()