Add information about the book in the mail subject. Inspired by At-Libitum. fix #121

This commit is contained in:
Sébastien Lucas 2013-12-05 21:33:45 +01:00
parent f940f50120
commit f103d909e1

View file

@ -56,7 +56,7 @@ foreach (explode (";", $emailDest) as $emailAddress) {
$mail->AddAttachment($data->getLocalPath ()); $mail->AddAttachment($data->getLocalPath ());
$mail->IsHTML(false); $mail->IsHTML(false);
$mail->Subject = 'Sent by COPS'; $mail->Subject = 'Sent by COPS : ' . $data->getUpdatedFilename ();
$mail->Body = 'Sent by COPS'; $mail->Body = 'Sent by COPS';
if (!$mail->Send()) { if (!$mail->Send()) {