continue to repair ticket #74.

This commit is contained in:
wlx 2009-04-10 02:55:23 +00:00
parent 9d44d888cb
commit 7ba51a53dd
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ class AccountController extends Zend_Controller_Action
$body=file_get_contents($this->view->config->register->email->template); $body=file_get_contents($this->view->config->register->email->template);
$body=str_replace("[username]",$formData['username'],$body); $body=str_replace("[username]",$formData['username'],$body);
$mail->setBodyText($body); $mail->setBodyText($body);
$mail->setFrom('westdc@westgis.ac.cn'); $mail->addHeader('Reply-To', $this->view->config->service->email);
$mail->setFrom($this->view->config->service->email,'西部数据中心服务组');
$mail->addTo($formData['email']); $mail->addTo($formData['email']);
//中文标题有乱码在1.5版本中尚未解决 //中文标题有乱码在1.5版本中尚未解决
//ref: http://framework.zend.com/issues/browse/ZF-2532 //ref: http://framework.zend.com/issues/browse/ZF-2532