help with implementation contact form

3 replies · opened Feb 28, 2018

NnetwingsFeb 28, 2018

Hello

I did copy/paste from contact.html to my index.html page.
I changed emailaddress in sendemail.php

But it is not working.

http://www.sneluwhuisverkopen.be

SSemicolon WebSTAFFMar 1, 2018

Hello,

We have just checked out your Website and we receive this message when trying to submit the form: SMTP ERROR: Failed to connect to server: Connection refused. Please consider contacting your Web Hosting Provider regarding this issue since they should be able to fix this for you. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

NnetwingsMar 8, 2018

Hello

The contactform works but when sending the form there's no confirmation of it.

Kind Regards,
Tim

SSemicolon WebSTAFFMar 8, 2018

Hello,

We have tested out your Contact Form and the issue is with the SMTP Debug, which is enabled in your include/sendemail.php File. Please find the following code in the include/sendemail.php File:

$mail->SMTPDebug = 2;

and replace it with:

$mail->SMTPDebug = 0;

This will definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard