Hello,
My contact_form plugin does not send messages.
In the debug log, I get several errors like this one :
Undefined variable: mailcontent line xxx
This is from my form.php.
Using the original form.php, I get same errors.
Here is one line generating problem :
input type ... ... ?php echo html_encode($mailcontent['name']); ? ... ...
I did truncate the above line on this forum so that it displays correctly here, this is why I use ... ...
I use the zenphoto_sendmail extension. I did try the other mail extension -> same errors.
I'm under php 7.1.22.
Variables like $mailcontent['name'] are not declared, but it's probably not the problem.
When I press the "send" message, I get no error message and get a blank contact form.
I do not use captcha right now ... until it sends messages.
Well, thank you very much, again !
Your suggestion printContactForm() helped me a lot
It works with your help : I found a post saying that it was working with codeblocs
So I wrote a simple article with
in the codeblock section.
Message confirmation appears -> message sent ... and I did receive it.
Again, thank you. I do appreciate your help.