Form Not Working

3 replies · opened Apr 27, 2021

PparmarpiyushApr 27, 2021

Hi Team,

When testing site on wamp or Live contact form goes no response.

not showing any error or not submitting form also.

form.php file
/-------------------------------------------------
Receiver's Email
---------------------------------------------------
/

$toemails = array();

$toemails[] = array(
'email' => 'writing email on which mail to send', // Your Email Address
'name' => '' // Your Name
);
$fromemail = array(
'email' => 'writing email from which mail tobe send', // Company's Email Address (preferably currently used Domain Name)
'name' => '' // Company Name
);

PHPMailer.php file

public $From = 'writing email from which mail tobe send';

/**
 * The From name of the message.
 *
 * @var string
 */
public $FromName = 'Web Form';

is any thing wrong.

SSemicolon WebSTAFFApr 27, 2021

Hello,

Make sure that you are just editing the include/form.php File. No other File should be edited as this might cause unexpected issues.

Can you please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Additionally, it could be possible that the PHP mail() function has been blocked on your Servers by your Web Hosting Provider. Consider using SMTP instead for more secure and assured delivery of emails. More setup details can be found here: http://docs.semicolonweb.com/docs/forms/form-setup/ .

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

SSemicolon WebSTAFFApr 29, 2021

Hello,

Thanks for your Patience!

We have checked out your Website and the Form appears to be working fine with a Message Successfully Sent message. The issue appears to be with the PHP mail() Function which is not sending emails or blocked by your Web Hosting Providers to not send emails. You will definitely need to use SMTP in order to send Form Emails. Please setup your SMTP Details in the include/form.php File according to the Documentation and you should be good to go.

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