Contact Form Authentication

13 replies · opened Nov 3, 2016

AangltnyNov 3, 2016

I launched a new site today and the Contact Form is not working correctly. The host told me it was due to some sort of authentication issue. PHP is supported on this server.

Here is the link to the site http://www.franklinnc.com.

I've included a screen shot of the on screen error as well.

Any assistance would be greatly appreciated.

SSemicolon WebSTAFFNov 4, 2016

Hello,

According to the issue you have mentioned, the PHP mail() Function seems to be block on your Web Server or it is not supported by your Web Hosting Provider. So it is recommended that you contact your Web Hosting Provider regarding this and ask them to enable it for you. If this is not an Option then you will need to use SMTP Authentication to Send Emails. Complete Instructions for this has been provided in the Documentation > Widgets > Contact Forms Section.

Hope this Helps! Do let us know if we can help you with anything else or if you find any further issues with Canvas.

AangltnyNov 4, 2016

Thank you so much. According to the host PHP is enabled. I have contacted them again to see if there is an issue they are unaware of.

How safe is the SMTP Authentication?

SSemicolon WebSTAFFNov 4, 2016

Hello,

PHP is Definitely enabled on your Hosting Servers, however PHP mail() is not working and are sometimes blocked by some hosts for SPAM Protection. SMTP Authentication is definitely safe and your Email Accounts are Authenticated safely.

Thanks for your Patience. Do let us know if we can help you with anything else or if you find any further issues with Canvas.

AangltnyNov 4, 2016

I have contacted the host again and here is their reply ..... PHP is enabled.

Unfortunately this is exactly what I was describing to you previously. SMTP Authentication is required for mail to be sent via scripts.

If you run into authentication issues after you set up SMTP Auth per their documentation, please email me back if you get a specific error code. We may be able to help you debug the settings.

AangltnyNov 4, 2016

Okay ... I have implemented your code and it is still not working.

AangltnyNov 4, 2016

I certainly need your help debugging. The host is also looking into the issue.

Thank you so much and I'm sorry to be a pain. With the site live it is now a priority situation for me to get it up and running correctly.

AangltnyNov 4, 2016

Let me give you an update .... the form results are now coming through .... however the spinner just sits and spins and gives no indication the message has been sent.

Feel free to test it while its live. The mails are coming to me.

AangltnyNov 4, 2016

Here is a screen shot.

AangltnyNov 5, 2016

I have ti working now. After some searching on your site for topics I found this ...

Please find the $mail->SMTPDebug = 2; in the include/sendemail.php File and change it to $mail->SMTPDebug = 0;

Took me some time to find the right terminology but all is working well.

AangltnyNov 5, 2016

I do have one further question ..... is there a way to have the Contact Page redirect back to the Home page after the message displays? I noticed the form's contents are still there when the message pops up and nothing else happens.

Again, thank you for your assistance and patience with me.

SSemicolon WebSTAFFNov 6, 2016

Hello,

Really Glad that the Issues with SMTP have been resolved. We have just checked out your Website and the Form does clear up after Successful Submission, however it is also definitely possible to Redirect the Page after successful Form Submission. You can simply add the data-redirect Attribute to the .contact-widget Element. Example:


	...

This will definitely work fine. Thanks for your Patience.

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

AangltnyNov 7, 2016

Thank you again for wonderful support! Love this template.

SSemicolon WebSTAFFNov 8, 2016

Hello,

Thank You so much for the Kind Words! Very Happy to Help!

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

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