Lines Matching refs:curl_easy_setopt
91 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
92 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
98 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mainserver.example.net:587");
105 curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL);
110 * curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
111 * curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
118 curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem");
126 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM);
133 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients);
138 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source);
139 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx);
140 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
145 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);