如何使用curl发送带有HTML正文的SMTP电子邮件
问题描述:
我正在使用libcurl从ubuntu服务器发送SMTP电子邮件。
我被要求更改电子邮件以从寺庙中获取HTML正文存储在
文件中。
libcurl是否能够发送HTML正文,如果有的话,任何有关如何实现它的建议或示例感谢。
谢谢
问候
我尝试过:
我试过把HTML放在邮件中但是没有解码
Hi,
I am using libcurl to send SMTP emails from a ubuntu server.
I have been asked to change the emails to have a HTML body from a temple stored in a
file.
Is libcurl able to send the HTML body and if so any advice or example on how to
achieve it would be appreciated.
Thank You
Regards
What I have tried:
I have tried putting the HTML in the message but it is not decoded