0
我在远程服务器上工作我想将一些HTML上下文管道显示到电子邮件中。如下如何将HTML嵌入到电子邮件中
| mail -s "subject" [email protected]
然而,当我收到的电子邮件在我的收件箱我一直在使用它,我收到了原始的HTML
?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- This file was created with the aha Ansi HTML Adapter. http://ziz.delphigl.com/tool_aha.php -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
<title>stdin</title>
</head>
<body>
如何我收到一封电子邮件显示HTML命令,而不是在原始格式。
干杯
TY为响应我结束了,我可以用狗去只需将Content-type作为标题即可。 – Will 2014-10-11 04:01:32
如果您不需要更多自定义标题,这可能是一个不错的选择。 – AnFi 2014-10-11 07:37:53