如何用swaks发送带有URL的邮件。 例如,你将如何发送以下邮件?
链接
我尝试没有成功
swaks -t [email protected] \ --body link<https://en.wikipedia.org/wiki/Main_Page>
因为如果我们将消息显示为原始消息,就会出现这种情况。
没有MIME标题的电子邮件会以纯文本的forms出现。 MIME头使邮件正文被看作是HTML。
swaks --body '<a href="https://en.wikipedia.org/wiki/Main_Page">link</a>' - --add-header "MIME-Version: 1.0" --add-header "Content-Type: text/html" -t [email protected]