【发布时间】:2017-04-22 04:42:24
【问题描述】:
我正在尝试从 ASPX C# 页面发送电子邮件。 我希望电子邮件字体来自 Google 字体。
在服务器端,我已经指定:
msg.IsBodyHtml = true;
这是我要发送的 HTML。
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Rubik:400,700&subset=hebrew,latin-ext" rel="stylesheet">
</head>
<body style="font-family:'Rubik';font-size:10pt;color:#4b5659;">
<center>
test text
</center>
</body>
</html>
不过,电子邮件到达时没有指定字体(使用默认字体)。
我们将不胜感激。
【问题讨论】: