diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-11-17 13:43:54 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-11-17 13:43:54 (GMT) |
commit | 5263008ec799bc907aa3bf9ca59d429d5b7e5655 (patch) | |
tree | 616715459809a02f436c0f2ac7ab9211fe74fabe | |
parent | c6fcdd085d57048a9821a7f82bacb4a4bb7afae1 (diff) |
Add aslo@ to reply-to list
-rw-r--r-- | site/app/controllers/components/editors.php | 1 | ||||
-rw-r--r-- | site/app/controllers/sharing_api_controller.php | 1 | ||||
-rw-r--r-- | site/app/controllers/users_controller.php | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/site/app/controllers/components/editors.php b/site/app/controllers/components/editors.php index 0e26dfc..cd7f3a3 100644 --- a/site/app/controllers/components/editors.php +++ b/site/app/controllers/components/editors.php @@ -496,6 +496,7 @@ class EditorsComponent extends Object { continue; } $this->controller->Email->to = $subscriber['User']['email']; + $this->controller->Email->reply_to = array(EDITOR_EMAIL); $result = $this->controller->Email->send(); } } diff --git a/site/app/controllers/sharing_api_controller.php b/site/app/controllers/sharing_api_controller.php index 8becaed..1fc4fb6 100644 --- a/site/app/controllers/sharing_api_controller.php +++ b/site/app/controllers/sharing_api_controller.php @@ -794,6 +794,7 @@ class SharingApiController extends AppController foreach ($emails as $em) { $this->Email->to = $em; + $this->Email->reply_to = array(EDITOR_EMAIL); $result = $this->Email->send(); } diff --git a/site/app/controllers/users_controller.php b/site/app/controllers/users_controller.php index 400e4ab..f5375d7 100644 --- a/site/app/controllers/users_controller.php +++ b/site/app/controllers/users_controller.php @@ -172,6 +172,7 @@ class UsersController extends AppController $this->Email->template = 'email/confirm'; $this->Email->to = $data['User']['email']; $this->Email->subject = sprintf(___('Thanks for joining %s Add-ons'), APP_PRETTYNAME); + $this->Email->reply_to = array(EDITOR_EMAIL); $result = $this->Email->send(); return true; } @@ -249,6 +250,7 @@ class UsersController extends AppController $this->Email->template = 'email/pwreset'; $this->Email->to = $this->data['User']['email']; $this->Email->subject = sprintf(___('Reset your %s Add-ons password'), APP_PRETTYNAME); + $this->Email->reply_to = array(EDITOR_EMAIL); $result = $this->Email->send(); $this->flash(___('The password reset link was sent to your email address.'), '/', 3); @@ -607,6 +609,7 @@ class UsersController extends AppController $this->Email->template = 'email/emailchange'; $this->Email->to = $newemail; $this->Email->subject = sprintf(___('Please confirm your email address change at %1$s Add-ons'), APP_PRETTYNAME); + $this->Email->reply_to = array(EDITOR_EMAIL); $result = $this->Email->send(); } |