FAQs - Frequently Asked Questions


When I hit the submit button, I get "Mailer Error: Could not Instantiate Mail Function"

There could be many possibilities.

  1. Your web host has probably disabled PHP Sendmail function. Please check with your web host to see if they have PHP Sendmail disabled ot not.
  2. Try assigning your hosting account email address to the $from variable in the contact-config.php file. Some webhosts require the FROM email address to be same as your hosting account email address.
  3. Your web host could be running an older version of PHP with Safe Mode on. Upload this file to your server and run it. If it displays that "Safe mode is on", and you are on shared hosting, and cannot turn Safe Mode off, apply the following patch to file class.phpmailer.php:

    Replace the following on lines 749 and 755:

    $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);

    With:

    $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header);

The form submits information but no email is received

  1. Check your Inbox Spam (Junk mail) folder.
  2. Check with your web host to see if they have any restrictions on using PHP Sendmail function. Try assigning your hosting account email address to the $from variable in the contact-config.php file. Some webhosts require the FROM email address to be same as your hosting account email address.
  3. If nothing works, you can use the SMTP version with external SMTP providers like JangoSMTP.com

How to send the email message to 2 or more different email address

Find the following line in contact-config.php file:

$to = 'youremail@email.com';

Add, below that line:

$to_second = 'secondemail@email.com';

Where secondemail@email.com is the second email address where the message is to be sent. If there's a third email address, add another line, say:

$to_third = 'thirdemail@email.com';

...and so on.

In file contact-form.php, find line:

$mail->AddAddress($to);

Add below that line:

$mail->AddAddress($to_second);

If you have a third email address, add another line:

$mail->AddAddress($to_third);

...and so on.

While accessing the form page, the following error is displayed: "Warning: session_start(); [function.session-start]: Cannot send session cache limiter - headers already sent"

You have probably not added the below line to the very top (first line) of the page where you are including the contact form:

<?php session_start(); ?>

After submitting the message, the following error is displayed: "Warning: session_start(); [function.session-start]: Cannot send session cache limiter - headers already sent"

You are probably trying to redirect the form to a different page (setting the $thank_you_url) without setting $use_header_footer to TRUE

Please go through Method II of the installation instruction.