Mail : From and To
This commit is contained in:
parent
4b2e22ba21
commit
5f27da2646
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user