我需要将 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);
Run Code Online (Sandbox Code Playgroud)
我在图书馆网站上找不到示例。