Contact form not working

5 replies · opened Nov 15, 2016

JjmgrrlNov 15, 2016

Hello,
The contact form on my site is not working. The confirmation message appears, but the page is not sending any emails.
Here is the page: http://uixcom.net/contact.html

I included the correct details on the include/sendemail.php file. After that, I tried to add the SMTP code in case PHP mail wasn't working -- this didn't work - the page was stuck on the spinning graphic and no mail was sent.

I'd be grateful if you could help me with this issue!

Thanks,

Jennifer

SSemicolon WebSTAFFNov 18, 2016

Hello,

We Really Apologize about the Inconveniences caused!

According to the Issue you have mentioned, it appears that PHP mail() is definitely supported but the Emails might be getting blocked on your Server and delivered to your Email or it might also has been getting delivered to your SPAM Folder. Please consider checking this out and do let us know about this. If the Emails is not getting delivered to your SPAM Folder, then please consider contacting your Web Hosting Provider for this issue since it is likely that there is an issue with the Server.

Additionally, while using SMTP, can you please provide us with a Live URL with the SMTP setup so that we can check out the exact issue and provide you with a more accurate solution for this. 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.

JjmgrrlNov 18, 2016

Hello,

Thanks for looking at my issue! I received a test mail from "sdasdsa" - was that you? I still haven't been able to receive any of my own tests that I've sent. There is nothing in my spam folder. I will contact my web hosting service provider and see if there are any filters in effect.

I will let you know if the service provider can resolve the issue.

Thanks again!

Jennifer

SSemicolon WebSTAFFNov 19, 2016

Hello,

Yes, we had sent a Test Email to check out any external issues with the Contact Form. But, since you have received it, it confirms that PHP mail() works on your Server but some Responses are being block. So, contacting your Web Hosting Provider should definitely help. 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.

JjmgrrlNov 19, 2016

Hello,
I have checked with my provider's support and include their message below. Basically what they said is that the PHP script needs to have a "from" email address which is hosted with them. I did put that in the script, at the line
'email' => 'jen@uixcom.net', // Your Email Address

Is there anywhere else in the script to insert my email address? Or is there a malfunction in the script?

Here is the reply from my Service Provider's Tech Support:

I tested the contact form on http://uixcom.net/contact.html with our
gmail address but it does not appear to have made it to your mailbox,
jen@uixcom.net. I tested sendmail via cli and it works so then I retried
the contact form again but used jen@uixcom.net as the sender. If you're
using a phpmailer script, can you please make sure you're FROM address is
set to a DreamHost hosted email address such as jen@uixcom.net. The
problem that may be occurring is the contact form is using the
"inquirer's" email address and using that as the FROM. Unfortunately the
FROM address has to come from a DreamHost hosted email address.

Many thanks,

Jennifer

SSemicolon WebSTAFFNov 20, 2016

Hello,

Thank You so much for providing us with the Reply of your Hosting Provider! This explains your issue perfectly. Please find the following line of code in the include/sendemail.php File:

$mail->SetFrom( $email , $name );

and replace it with:

$mail->SetFrom( 'your-email@yourhost.com' , 'Your Name' );

Make sure that you replace your-email@yourhost.com with the Email on your Web Server as explained by your Web Hosting Provider and this should definitely fix your issue.

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