我在wordpress上安装了插件contactform 7。每次我尝试发送错误消息:
There was an error trying to send your message. Please try again later.
会出现。
我检查了所有设置,卸载并重新安装插件,但总是遇到同样的问题。
我的表格:
<label> Your Name (required)
[text* your-name] </label>
<label> Your Email (required)
[email* your-email] </label>
<label> Subject
[text your-subject] </label>
<label> Your Message
[textarea your-message] </label>
[submit "Send"]
我的邮件选项:
To: info@mycompany.com
From: [your-name] <info@mycompany.com>
Subject: Company "[your-subject]"
Additional Headers: Reply-To: [your-email]
Message body: From: [your-name] <[your-email]>
Subject: [your-subject]
Message Body:
[your-message]
--
This e-mail was sent from a contact form on Company (https://company.com)
我在docs文件中找不到任何对此问题的答案
答案 0 :(得分:1)
您需要安装smtp插件才能发送电子邮件模板。 WordPress中有许多smtp插件可用的电子邮件设置。 您也可以使用下面的插件,它将适合您。 https://wordpress.org/plugins/wp-mail-smtp/