$config = array(\'auth\' => \'login\', \'username\' => \'****@gmail.com\', \'password\' => \'****\', \'port\
Its described in the manual of Zendframework
Zend_Mail::setDefaultTransport($transport);
Then somewhere else instanciate Zend_Mail, write your mail and send it.
Zend_Mail