• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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