contact form returning an alert message "Bot Detected! Form could not be processed! Please Try Again!" after submit.
contact form returning an error
11 replies · opened Aug 28, 2021
Hello,
Simply add the following code inside the `` Tags of the Contact Form:
[ch_pre]<div class="col-12 form-group d-none">
<input type="text" id="template-contactform-botcheck" name="template-contactform-botcheck" value="" class="sm-form-control" />
</div>[/ch_pre]
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.
thank you, that error is gone, but now I am facing another issue which the mail is not sending.
i think $sendEmail = $mail->Send(); is not working. i am getting empty response after this line.
$mail->MsgHTML( $body );
$mail->CharSet = "UTF-8";
die('here!');
$sendEmail = $mail->Send();
if( $sendEmail == true ){
if( $autores && !empty( $replyto_e ) ) {
$send_arEmail = $autoresponder->Send();
}
echo '{ "alert": "success", "message": "' . $message['success'] . '" }';
}else{
echo '{ "alert": "error", "message": "' . $message['error'] . '
**Reason:**
' . $mail->ErrorInfo . '" }';
}see the die('here!') code line, the form.php executes here only. After this line, I didn't get any responses.
Hello,
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. Please consider using SMTP in order to send Form Emails. Please setup your SMTP Details in the include/form.php File according to the Documentation: http://docs.semicolonweb.com/docs/forms/form-setup/ 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.
i already added smtp setup as like given in your document.
Hello,
It would be great if you can please provide us with FTP Access so that we can look into this for you and fix it asap. 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.
i don't have permission to share ftp credentials.
Hello,
We understand. But then you will need to contact your Web Hosting Provider for further solutions as the issue appears to be with your Hosting Configuration. You can also consider checking these suggestions here: https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting .
Thanks for your Patience.
Let us know if we can help you with anything else or if you find any further issues.
Fatal error: Maximum execution time of 120 seconds exceeded in E:\XAMPP\htdocs\WEB\include\phpmailer\src\SMTP.php on line 1228
after submit some time later I am getting this response, [got from inspect network]
also my smtp config is working fine.
hey thanks for your support, the problem is resolved i don't know how it is happened,but working fine now.
Hello,
Glad that the issue was resolved.
Please 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