【发布时间】:2016-10-03 07:05:30
【问题描述】:
我需要将 html 表格作为电子邮件正文发送。我只是做了下面提到的内容类型为 html,但它不起作用。
headers = curl_slist_append(headers, "Content-Type: text/html");
/* pass our list of custom made headers */
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
我在图书馆网站上找不到示例。
【问题讨论】: