[英]Sending mail from contact form 7 not working
I created a wordpress template and used contact form 7 for sending mail .我创建了一个 wordpress 模板并使用联系表 7 发送邮件。 My contact form plugin source code is :
我的联系表单插件源代码是:
<div class="row">
<div class="col-lg-6">
[text* nomcontact placeholder "Nom"]
</div>
<div class="col-lg-6">
[text* prenomcontact placeholder "Prènom"]
</div>
</div>
<div class="row">
<div class="col-lg-6">
[email* emailcontact placeholder "Adresse Email"]
</div>
<div class="col-lg-6">
[tel* telcontact placeholder "Numero de Téléphone"]
</div>
</div>
<div class="row">
<div class="col-lg-6">
[text* entreprise placeholder "Nom d'entreprise"]
</div>
<div class="col-lg-6">
[text* devissujet placeholder "Sujet de devis ?"]
</div>
</div>
<div class="row">
<div class="col-lg-12">
[textarea* textarea-contact placeholder "Votre Message"]
<div class="text-center">
<center> [submit class:thm-btn class:contact-one__btn "Demander Devis"]</center>
</div>
</div>
</div>
and my html source code is :我的 html 源代码是:
<div class="row">
<div class="col-lg-12 wow fadeInUp" data-wow-delay="0000ms">
<div class="pricing-one__single text-center" style="background-image: url(https://www.hostsandguests.ma/wp-content/uploads/2019/12/backhome4.jpg);">
<center> <form action="#" class="contact-one__form row">
[contact-form-7 id="7694" title="devis"]
</form> <!-- /.contact-one__form --> </center>
</div><!-- /.pricing-one__single -->
</div><!-- /.col-lg-4 -->
</div><!-- /.row -->
email setting :电子邮件设置:
when i click send => "demander devis" is just refreshing the web page without any message and the mail is not sent .当我点击发送=>“需求者设计”只是刷新网页,没有任何消息,邮件没有发送。
any help please ?有什么帮助吗?
Check this code for how to add the contact form检查此代码以了解如何添加联系表单
<div class="row">
<div class="col-lg-12 wow fadeInUp" data-wow-delay="0000ms">
<div class="pricing-one__single text-center" style="background-image: url(https://www.hostsandguests.ma/wp-content/uploads/2019/12/backhome4.jpg);">
<center> <div class="contact-one__form row">
[contact-form-7 id="7694" title="devis"]
</div> <!-- /.contact-one__form --> </center>
</div><!-- /.pricing-one__single -->
</div><!-- /.col-lg-4 -->
</div><!-- /.row -->
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.