Hey :)
Actually I got this error using ZF 0.8.0 when I try to send an email
using Zend_Mail module.
Fatal error: Call to undefined method
Zend_Mail_Transport_Smtp::connect() in
/home/jfalvarez/public_html/userland/library/SendEmail.php on line 254
This line (254) have this:
$tr->connect();
All the method is this:
public function SendSMTPEmail()
{
require_once 'Zend/Mail/Transport/Smtp.php';
$tr = new Zend_Mail_Transport_Smtp('mail.my_server.com');
Zend_Mail::setDefaultTransport($tr);
$tr->connect();
$this->SendEmail();
$tr->disconnect();
}
I look into the Zend/Mail/Transport/Smtp.php and it doesnt have the
connect method but is extended to the Abstract class, so I dont know
what's wrong, Abstract.php doesnt have connect either, but
Protocol/Smtp.php have it. Somebody can help me on this ?
Thx