PEAR Mail - SMTP.php could not be found?

software development

#1

Hey guys,

I’m trying to use PEAR Mail to send email via SMTP on a remote host. I’m requiring Mail.php without any issues.

But when I try to send I get this error:

Warning: send(Net/SMTP.php): failed to open stream: No such file or directory in /usr/local/lib/php/Mail/smtp.php on line 185

Warning: send(): Failed opening ‘Net/SMTP.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /usr/local/lib/php/Mail/smtp.php on line 185

Fatal error: Cannot instantiate non-existent class: net_smtp in /usr/local/lib/php/Mail/smtp.php on line 189