Skip to content
Snippets Groups Projects
Commit 9bf1a97d authored by jgaimard's avatar jgaimard
Browse files

Mail reservation la plaine centrale

parent 4b7d429a
Branches
Tags
No related merge requests found
......@@ -111,8 +111,8 @@ class Class_Webservice_SIGB_Dynix_Service extends Class_WebService_SIGB_Abstract
$mail = new ZendAfi_Mail();
try {
$annexe = Class_CodifAnnexe::findFirstBy(['code' => $code_annexe]);
$mail->setFrom($exemplaire->getMailIntBib())
->addTo($annexe->getMailIntBib())
$mail->setFrom(Class_CosmoVar::get('mail_admin'))
->addTo($exemplaire->getMailIntBib())
->setSubject('Demande de Reservation')
->setBodyHTML($this->_buildMailBody($user, $exemplaire, $annexe))
->send();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment