Glint contact form error


I’ve installed glint and when I try submitting a message from the contact form, the contact form works fine but nothing happens.

The error log on the server throws up this error:
PHP Notice: Undefined variable: message in /public_html/inc/sendEmail.php on line 31

Any ideas how to fix it?


Hi there

Hope you are having a good day and thank you for your question :slight_smile:
Get in touch with your hosting support on this problem, this is what happens on your server and they must fix it
Colorlib Support Team


This is only partly true - there’s also an error in the sendMail.php script - the message and error variables aren’t defined.

For anyone else reading this, add this to the script:
$error = ‘’;
$message =’’;

For the hosting support, check your email settings in your Cpanel, and make sure that these use the MX records you set up.

Hi, there

Well, is everything ok now? :slight_smile: