Hi,
New user of couch I'm trying to get an HTML email with the send_mail tag.
Here my code :
With this i get an html mail with in first line all the input and after that my html template without any value. Where is my mistake ? The documentation is bit thin about this.
Thanks for your help
New user of couch I'm trying to get an HTML email with the send_mail tag.
Here my code :
- Code: Select all
<cms:form method='post' id='email-form' >
<cms:if k_success >
<h3>Merci de votre demande. Nous vous contacterons dans les plus bref délais</h3>
<cms:send_mail from=k_email_from to=k_email_to subject='Contact depuis le site internet' debug="1" html="1">
<cms:show k_success />
<p>De la part de <cms:show nom/> pour une conçernant <cms:show type_de_devis/>.</p>
<p><strong> informations de contact :</strong>
<ul>
<li><cms:show telephone /></li>
<li><cms:show email /></li>
</ul>
</p>
<p><strong>Message</strong><br />
<cms:nl2br><cms:show message/></cms:nl2br>
</p>
</cms:send_mail>
</cms:if>
With this i get an html mail with in first line all the input and after that my html template without any value. Where is my mistake ? The documentation is bit thin about this.
Thanks for your help