diff --git a/htdocs/comm/propal.php3 b/htdocs/comm/propal.php3 index 38e4d1ce368..460cefdfad4 100644 --- a/htdocs/comm/propal.php3 +++ b/htdocs/comm/propal.php3 @@ -556,14 +556,8 @@ if ($propalid) $mailfile = new CMailFile($subject,$sendto,$replyto,$message,$filepath,$mimetype, $filename); - if ( $mailfile->sendfile() ) - { - - print "
envoyé à $sendto"; - print "
envoyé par ".htmlentities($replyto); - } - else - { + if (! $mailfile->sendfile() ) + { print "!! erreur d'envoi"; } }