continue to repair ticket #74.
This commit is contained in:
parent
9d44d888cb
commit
7ba51a53dd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue