RSS

Warning: include_once(Net/SMTP.php) [function.include-once]: failed to open stream: No such file or directory in /usr/local/lib/php/Mail/smtp.php

20 Jan

Warning: include_once(Net/SMTP.php) [function.include-once]: failed to open stream: No such file or directory in /usr/local/lib/php/Mail/smtp.php on line xWarning: include_once() [function.include]: Failed opening ‘Net/SMTP.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /usr/local/lib/php/Mail/smtp.php on line xFatal error: Class ‘Net_SMTP’ not found in /usr/local/lib/php/Mail/smtp.php on line x

Soultion:

Check following things:
==========================
Pear list
You must see
Mail 1.2.0 stable
Pear 1.2.0 stable
==========================

This means pear mail is installed, now if you look closer to the error i.e
Failed opening ‘Net/SMTP.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /usr/local/lib/php/Mail/smtp.php on line xFatal error: Class ‘Net_SMTP’ not found in /usr/local/lib/php/Mail/smtp.php on line x

This means that the Net_SMTP is not installed
Just install it by

pear install Net_SMTP

Thats it now the email must run 😎

Advertisements
 
Leave a comment

Posted by on January 20, 2012 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: