diff --git a/sendtomail.php b/sendtomail.php index 81091e2..2f29390 100644 --- a/sendtomail.php +++ b/sendtomail.php @@ -55,9 +55,10 @@ foreach (explode (";", $emailDest) as $emailAddress) { $mail->AddAttachment($data->getLocalPath ()); -$mail->IsHTML(false); +$mail->IsHTML(true); $mail->Subject = 'Sent by COPS : ' . $data->getUpdatedFilename (); -$mail->Body = 'Sent by COPS'; +$mail->Body = "

" . $book->title . "

" . $book->getAuthorsName () . "

" . $book->getComment (); +$mail->AltBody = "Sent by COPS"; if (!$mail->Send()) { echo localize ("mail.messagenotsent");