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()) {