简体   繁体   中英

wordperss contact form 7 doesn't send html content

i'm pretty new to wordpress and contact form, so i've installed wp and contact form 7 and then, i installed ckeditor to make it more nice for the user.

Then, i created a new form with this code:

<p>השם שלך (חובה)<br />
[text* name placeholder "השם שלך"] </p>

<p>האימייל שלך: (חובה)<br />
[email* email placeholder "האימייל שלך"] </p>

<p class="block">נושא<br />
[text subject placeholder "נושא ההודעה"] </p>

<p class="block message">ההודעה שלך<br />
[textarea message class:ckeditor placeholder "תוכן ההודעה"] </p>

<p class="block submit-wrapper text-left">[submit "שלח"]</p>

And those in settings i checked the option "use html content".
When i sent the email from the site (on the local, using xampp) and the enail was sent but the [textarea message] wasn't there.
After that, i unchecked the "use html content" and sent the email again. The message was there but it was a plain text, the html tags were escaped.

Any help? thanks :)

Download the latest Contact form 7 from : https://wordpress.org/plugins/contact-form-7/ if below option not there in contact form 7 在此处输入图片说明

change high lighted setting As per screenshot. This work for you..

HTML content is not allowed in contact form 7 for security reason.

Read this reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM