Lines Matching refs:curl_easy_setopt
98 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
99 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
105 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mainserver.example.net:587"); in main()
112 curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); in main()
125 curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem"); in main()
134 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM); in main()
141 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); in main()
146 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); in main()
147 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
148 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
153 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); in main()