$transport = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $config);
$mail = new Zend_Mail();
$mail->setBodyText('This is the text of the mail.');
$mail->setFrom('xxxx@gmail.com', 'Some Sender');
$mail->addTo('xxxx@163.com', 'Some Recipient');
$mail->setSubject('TestSubject');
$mail->send($transport);