mirror of
https://github.com/curl/curl.git
synced 2026-08-01 00:38:04 +03:00
parent
7a1e99eefa
commit
0476e4fc65
149 changed files with 1381 additions and 1376 deletions
|
|
@ -34,9 +34,9 @@
|
|||
* libcurl's multi interface.
|
||||
*/
|
||||
|
||||
#define FROM_MAIL "<sender@example.com>"
|
||||
#define TO_MAIL "<recipient@example.com>"
|
||||
#define CC_MAIL "<info@example.com>"
|
||||
#define FROM_MAIL "<sender@example.com>"
|
||||
#define TO_MAIL "<recipient@example.com>"
|
||||
#define CC_MAIL "<info@example.com>"
|
||||
|
||||
static const char *payload_text =
|
||||
"Date: Mon, 29 Nov 2010 21:54:29 +1100\r\n"
|
||||
|
|
@ -94,7 +94,7 @@ int main(void)
|
|||
if(multi) {
|
||||
int still_running = 1;
|
||||
struct curl_slist *recipients = NULL;
|
||||
struct upload_status upload_ctx = {0};
|
||||
struct upload_status upload_ctx = { 0 };
|
||||
|
||||
/* This is the URL for your mailserver */
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue