Mail : From and To

This commit is contained in:
Michael RICOIS 2017-02-10 16:38:46 +01:00
parent 4b2e22ba21
commit 5f27da2646
4 changed files with 5 additions and 5 deletions

View File

@ -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();
}

View File

@ -829,7 +829,7 @@ class EvaluationController extends Zend_Controller_Action
"<pre>".print_r($InfoEnq, 1)."</pre>";
$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();

View File

@ -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 {

View File

@ -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();
}