不能更改woocommerce中的电子邮件类型 [英] can't change Email type in woocommerce
问题描述
我一直在尝试创建自定义设计的电子邮件(使用HTML)到我的网站,但是每当尝试使用该电子邮件时,它都会显示纯文本.
I have been trying to create custom design e-mails to my website (using HTML) but whenever I try the e-mail it shows plain text.
我进入woocommerce设置->电子邮件,但无法更改电子邮件类型.它停留在纯文本上.但是,当我在线搜索时,我看到我们有可供选择的选项.
I went to woocommerce setting -> e-mail and I couldn't change the Email type. it is stuck on plain text. But when I search online I see that we have options we can choose from.
我很高兴有人可以指导我如何使此功能起作用.
I appreciate if someone can guide me on how to make this feature works.
注意:-我正在使用Amazon AWS(我不确定是否需要授予或执行权限)-我使用的是WP-Mail-SMTP(我试图停用它,但没有用)-网站是www.howayte.com
Notes: - I am using Amazon AWS ( I am not sure if there are permissions I need to give or do) - I am using WP-Mail-SMTP ( I tried to deactivate it but it didnt work) - website is www.howayte.com
推荐答案
我找到了以下帖子
https://wordpress.org/support/topic/woocommerce-email-输入/
,我根据以下帖子中的答案配置了设置.
and I configured my setting based on the answer in the post below.
Woocommerce(wordpress)电子邮件类型,显示普通"/text"而不是"text/html"
基本上我可以用腻子
写了以下内容
sudo su
yum安装php-xml百胜安装php-gd百胜安装php-xmlrpc
yum install php-xml yum install php-gd yum install php-xmlrpc
然后重新启动服务
服务httpd重新启动
service httpd restart
我还将模板文件从"/plain"目录复制到"/email",对我来说很好.
I also copied the template files from the "/plain" directory to the "/email" and it worked fine for me.
希望它可以帮助与我处于类似状况的人
hope it help anyone who is in similar situation as I am
这篇关于不能更改woocommerce中的电子邮件类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!