- Check whether the administrator e-mail is set up:
- Log in the administrator panel and click on the Settings link on the right.
- Click on the Company link in the top box.
- Make sure that the administrator e-mail address is entered in the Order department e-mail address field on the opened page.
- Click on the E-mails link in the same top box and check what method of sending e-mails you use.
If PHP mail is selected in the Method of sending e-mails select box, check whether standard PHP mail function works properly on your site:
- Create a mail.php file in the root directory of your CS-Cart installation.
- Enter the following content there:
<?php
$to = 'order@domain.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: your_email@domain.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$result = mail($to, $subject, $message, $headers);
print $result;
?>
where order@domain.com - is e-mail entered in the Order department e-mail address field. And your_email@domain.com is the other e-mail address.
- Save the file.
- Launch this script by opening the following link: http://www.your_domain.com/your_cscart_directory/mail.php, where change the address to the address where your CS-Cart is located.
- This test script just sends e-mail from the order@domain.com e-mail address to your_email@domain.com. If you see 1 that means that the e-mail was sent properly and standard PHP function works correctly on your server. If you did not get this e-mail it means that there are some problems with your mail server. If you get 0, it means that the standard PHP function does not work on your server. Contact your server administrator in this case.
If SMTP server is selected in the Method of sending e-mails select box:
- Make sure that you entered the correct information under the SMTP server settings section.
- Contact your server administrator about the problem with your SMTP server.