2017-04-18 72 views
1
电子邮件

我有以下形式的代码:连接形式,通过联系表格7 WordPress的

<center> 

<label for=".elementor-6 .elementor-element.elementor-element-5m0lukt .wpcf7 input[type="text"]"><input type=text text* your-name placeholder="name" required id:name </input></label> 

<label for= ".wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-required.wpcf7-validates-as-tel* your-email"> <input type="phone" tel* tel-196 input placeholder="phone" id:phone required</input></label> 


<textarea name="details" placeholder="your message" cols="40" rows="10" class="wpcf7-form-control wpcf7-textarea details" id="details" aria-invalid="false"></textarea> 

[submit "send"] 
</center> 

但我无法设置邮件标签正确,以便将其连接到电子邮件,所以我只收到空白消息。表格填写完成后我会收到通知,但我没有看到来自该字段的任何详细信息。我知道它是与邮件标签,但我不知道如何相应地改变如下:

From: your-name <[your-email]> 
Subject: [your-subject] 

Message Body: 
[your-message] 

有什么办法让它没有太多的改变HTML代码的工作,因为我有设计我的表单的CSS代码? 这里的任何帮助是赞赏,因为我完全失去,谢谢!

回答

1

下面的消息体,改变[您的消息]与[详情]

+0

其他领域呢?姓名和电子邮件? – Rozi

+0

请检查此页面https://contactform7.com/setting-up-mail/ –

1

好了上面的人让我尝试一些东西,我只是增加了一个“textarea的名字=”到田间地头的休息。我不知道这是否是最好的方式,但它不知何故让我看到了我收到的消息。