rubing Posted March 22, 2008 Share Posted March 22, 2008 I am trying to use the pear's RFC82l2 package for validating and parsing email addresses. The path to pear's mail package on my webhost's server is: /usr/local/php5-fcgi/lib/php/pear/Mail/mail.php so, my script has the following require statements: <?php require_once "/usr/local/php5-fcgi/lib/php/pear/pear.php"; require_once "/usr/local/php5-fcgi/lib/php/pear/Mail/mail.php"; require_once "/usr/local/php5-fcgi/lib/php/pear/Mail/RFC82l2.php"; ... Unfortunately the script fails as follows: Fatal error: Class mail_mail: Cannot inherit from undefined class mail in /usr/local/php5-fcgi/lib/php/pear/Mail/mail.php on line 27 Is there something I'm failing to include? Link to comment https://forums.phpfreaks.com/topic/97312-pear-fatal-error-class-mail_mail-cannot-inherit-from-undefined-class-mail/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.