You can set this globally, for example in your bootstrap.php file: $tr = new Zend_Mail_Transport_Smtp('smtp.gmail.com', array( 'auth' => 'login', 'username' => '[email protected]', 'password' => 'YOUR_PASSWORD', 'ssl' => 'ssl', 'port' => 465) ); Zend_Mail::setDefaultTransport(