$config = array('auth' => 'login',
'username' => '****@gmail.com',
'password' => '****',
'port' => '25',
'ssl' => 'tls');
$transport = new Zend_Mail_Transport_Smtp('smtp.googlemail.com', $config);
what should i do after that, where can i put the body and the recipient address.
See the documentation for full examples (although the Zend docs admittedly often aren't great).
Based on a comment here:
Your example shows an empty link so it wont display anything.
Unless this is a modified example you used to post on here?
Does the following display anything when you run it, if not what do you get.
Its described in the manual of Zendframework
Then somewhere else instanciate
Zend_Mail
, write your mail and send it.