diff --git a/application/modules/default/controllers/ErrorController.php b/application/modules/default/controllers/ErrorController.php index 3753a69c9..b60679658 100644 --- a/application/modules/default/controllers/ErrorController.php +++ b/application/modules/default/controllers/ErrorController.php @@ -60,7 +60,7 @@ class ErrorController extends Zend_Controller_Action $mail = new Scores_Mail_Method(); $mail->setSubject('[ERREUR APPLICATIVE] - '.$c->profil->server->name.' -'.date('Ymd')); $mail->setBodyText($message); - $mail->setFromKey('supportdev'); + $mail->setFromKey('support'); $mail->addToKey('supportdev'); $mail->execute(); } diff --git a/application/modules/default/controllers/EvaluationController.php b/application/modules/default/controllers/EvaluationController.php index b8d9a39fd..5b15a4bb8 100644 --- a/application/modules/default/controllers/EvaluationController.php +++ b/application/modules/default/controllers/EvaluationController.php @@ -829,7 +829,7 @@ class EvaluationController extends Zend_Controller_Action "
".print_r($InfoEnq, 1)."
"; $mail = new Scores_Mail_Method(); - $mail->setFromKey('production'); + $mail->setFromKey('supportdev'); $mail->addToKey('support'); $mail->setSubject($sujet); $mail->setBodyHtml($texte); @@ -998,7 +998,7 @@ class EvaluationController extends Zend_Controller_Action 'Utilisateur='.$login; $mail->setBodyText($texte); - $mail->setFromKey('contact'); + $mail->setFromKey('supportdev'); $mail->addToKey('contact'); $mail->execute(); diff --git a/application/modules/default/controllers/UserController.php b/application/modules/default/controllers/UserController.php index d753201e4..3c1633388 100644 --- a/application/modules/default/controllers/UserController.php +++ b/application/modules/default/controllers/UserController.php @@ -731,7 +731,7 @@ class UserController extends Zend_Controller_Action $mail = new Scores_Mail_Method(); $mail->setSubject("Demande d'envoi des identifiants"); $mail->setBodyHtmlC($mailbody); - $mail->setFromKey('support'); + $mail->setFromKey('supportdev'); $mail->addToKey('support'); $mail->setReplyTo($params['email']); try { diff --git a/library/Scores/WsScores.php b/library/Scores/WsScores.php index c83c2edc4..f3c414add 100644 --- a/library/Scores/WsScores.php +++ b/library/Scores/WsScores.php @@ -3378,7 +3378,7 @@ class WsScores $mail = new Scores_Mail_Method(); $mail->setSubject('[ERREUR SOAP] - '.$c->profil->server->name.' -'.date('Ymd')); $mail->setBodyTextC($message); - $mail->setFromKey('supportdev'); + $mail->setFromKey('support'); $mail->addToKey('supportdev'); $mail->execute(); }