summaryrefslogtreecommitdiff
path: root/appli_3_alpha_old/app/sendmail.php
diff options
context:
space:
mode:
Diffstat (limited to 'appli_3_alpha_old/app/sendmail.php')
-rw-r--r--appli_3_alpha_old/app/sendmail.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/appli_3_alpha_old/app/sendmail.php b/appli_3_alpha_old/app/sendmail.php
index 49d333c..e62a4a5 100644
--- a/appli_3_alpha_old/app/sendmail.php
+++ b/appli_3_alpha_old/app/sendmail.php
@@ -65,7 +65,7 @@ if( isset($_POST['envoi']) )
$to=implode(', ',$to);
- if ( ! mail ( $to, $_POST['msgObject'], $_POST['msgText'], 'From: ' . $CONFIG['automatedMail'] . "\r\n" ) )
+ if ( ! mail ( $to, urldecode($_POST['msgObject']), wordwrap(urldecode($_POST['msgText']),70), 'From: ' . $CONFIG['automatedMail'] . "\r\n" ) )
{
$errmsg = "Erreur lors de l'émission de l'email : Erreur inconnue";
}
@@ -189,6 +189,7 @@ else
</div>
</form>
</div>
+<?php generate_html_div_footer(); ?>
<div id="msg"></div>
</body>
</html>