• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

Contact page can not send mail

Status
Not open for further replies.

nmt12

Chevereto Member
Dear !!

User of my site use contact page to email message for me . But they can not send !!

It display error . Can not send !!

I was replace my mail box in this line

Code:
$to = 'somemail@fakemail.com';

I was test my SMTP server . It 's working . User can receive mail from my server !!

How can i fix my error ??

Thanks so much
 
Could you give us the link to your website so we can see ourselves the error, because it could be a lot of thing like the script, or your webhost that is blocking the mail function, having a link to test it ourselves would help a lot.

Thank you.
 
Some servers blocks the mail function, you can follow the instructions and use phpmailer with smtp.
 
By default Chevereto comes almost ready to use phpmailer but since this is optional is not bundled in the download. Simply download PHPMailer from here: http://sourceforge.net/projects/phpmailer/files/phpmailer for php5_6/PHPMailer v5.1/PHPMailer_v5.1.zip/download

and place the files class.phpmailer.php and class.smtp.php in the chevereto classes dir (includes/classes) then open content/themes/<yourtheme>/pages/contact.php and change this:
PHP:
// require_once __CHV_PATH_CLASSES__ . 'class.phpmailer.php'; //PHP MAILER IS NOT INCLUDED BY DEFAULT. GET IT ON http://sourceforge.net/projects/phpmailer/

To this:
PHP:
require_once __CHV_PATH_CLASSES__ . 'class.phpmailer.php'; //PHP MAILER IS NOT INCLUDED BY DEFAULT. GET IT ON http://sourceforge.net/projects/phpmailer/
 
Status
Not open for further replies.
Back
Top