Forum

Thread tagged as: Problem, Error

Email Form

Hi All,

I am facing some problem in perch forum. I'm getting an error "Invalid address: PERCH_EMAIL_FROM",

Thanks

Damian McCracken

Damian McCracken 0 points

  • 5 years ago

What is in your config/config.php file for PERCH_EMAIL_FROM ?

I am using these code in config.php file -:

<?php

define('PERCH_EMAIL_METHOD', 'smtp'); define('PERCH_EMAIL_HOST', 'localhost'); define('PERCH_EMAIL_AUTH', true); define('PERCH_EMAIL_USERNAME', 'myprojectss007@gmail.com'); define('PERCH_EMAIL_PASSWORD', 'teamwork@1'); define('PERCH_EMAIL_FROM', 'myprojectss007@gmail.com'); define('PERCH_EMAIL_FROM_NAME', 'Sharad');

define('PERCH_LOGINPATH', '/perch');
define('PERCH_PATH', str_replace(DIRECTORY_SEPARATOR.'config', '', dirname(__FILE__)));
define('PERCH_CORE', PERCH_PATH.DIRECTORY_SEPARATOR.'core');

define('PERCH_RESFILEPATH', PERCH_PATH . DIRECTORY_SEPARATOR . 'resources');
define('PERCH_RESPATH', PERCH_LOGINPATH . '/resources');

define('PERCH_HTML5', true);

?>

Drew McLellan

Drew McLellan 2638 points
Perch Support

Please do not distribute your license key anywhere, including this forum.

It looks like your software is out of date, so the first thing to do is update to the current version.

Hi Drew,

How will we update current version?

Drew McLellan

Drew McLellan 2638 points
Perch Support

The update instructions are here: https://grabaperch.com/update

You download the latest files from your account and then follow those instructions. It may well be that the issue you're seeing has already been addressed.