From f103d909e1270bbf43486ae0679ee3c4a8f3ad31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Thu, 5 Dec 2013 21:33:45 +0100 Subject: [PATCH] Add information about the book in the mail subject. Inspired by At-Libitum. fix #121 --- sendtomail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendtomail.php b/sendtomail.php index 99349d6..81091e2 100644 --- a/sendtomail.php +++ b/sendtomail.php @@ -56,7 +56,7 @@ foreach (explode (";", $emailDest) as $emailAddress) { $mail->AddAttachment($data->getLocalPath ()); $mail->IsHTML(false); -$mail->Subject = 'Sent by COPS'; +$mail->Subject = 'Sent by COPS : ' . $data->getUpdatedFilename (); $mail->Body = 'Sent by COPS'; if (!$mail->Send()) {