0
我想用快递邮件在我的NodeJS应用程序中发送电子邮件,我想用Jade撰写响应电子邮件,但是我在呈现此电子邮件时遇到问题:我添加到电子邮件模板的样式未应用到它的模板。例如,对于下面的代码:Jade电子邮件模板
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
html
head
meta(http-equiv = 'Content-Type', content = 'text/html; charset=UTF-8')
style.
body {
background-color: #dfdfdf;
width: 320px;
height: 620px;
}
.container {
width: 90%;
height: 90%;
margin: auto;
display: flex;
flex-deirection: column;
background-color: white;
border-radius: 4px;
}
body
.container Hello
所以,组成这样的电子邮件时,什么可以做我的错误,我应该怎么做才能得到一些工作?