简体   繁体   English

WP Better Emails插件-HTML模板问题

[英]WP Better Emails Plugin - HTML Template issue

I'm having a problem with styling the email thru the HTML Template of the WP Better Emails Plugin.. I'm receiving the email alright but the style I placed under the Plain-text Template textarea is not working.. This is the code: 我在通过WP Better Emails插件的HTML模板设置电子邮件样式时遇到问题。我正在接收电子邮件,但是我在纯文本模板textarea下放置的样式无效。.这是代码:

<html>
<body>
<p style="background-color: Gainsboro; color: DodgerBlue;">%content%</p>
</body>
</html>

It's a very simple code for now to test this feature. 现在,测试此功能非常简单。 But it's not showing the background color and text color on my email.. 但这并没有在我的电子邮件中显示背景色和文本色。

EDIT: I just found out that this plugin has this rule: HTML emails are not wrapped if they are already "text/html". 编辑:我刚刚发现此插件具有以下规则:如果HTML电子邮件已经是“ text / html”,则不会包装HTML电子邮件。 Unfortunately, I really need to have <ul> and <li> tags on my email without the style yet or else they'll look bad since there's no way for me to arrange or style those lists without these tags that I can target with css. 不幸的是,我真的需要在电子邮件中包含<ul><li>标记而没有样式,否则它们看起来会很糟糕,因为如果没有这些可以通过CSS定位的标记,我无法安排或设置样式。 How can I get away with this rule? 我怎样才能摆脱这条规则? Any idea? 任何想法?

Have you tried Contact Form 7. Its a contact form plugin for Wordpress and quite powerfull. 您是否尝试过联系表格7。它是Wordpress的联系表格插件,功能非常强大。

here is link: http://wordpress.org/plugins/contact-form-7/ 这是链接: http : //wordpress.org/plugins/contact-form-7/

Hope this help you. 希望这对您有所帮助。 :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM