diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:17:01 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:17:01 +0200 |
commit | a25edc8edf23e652dbd529b8c42199ae559905a1 (patch) | |
tree | bdc47a31288343a8bd11310a021fdf0679eb503c /appli_3_alpha_old/app/sendmail.php | |
parent | 3fc908d3a1d0f6c9b1fca690561098541a73266e (diff) | |
download | 2007-AWOR-a25edc8edf23e652dbd529b8c42199ae559905a1.tar.gz 2007-AWOR-a25edc8edf23e652dbd529b8c42199ae559905a1.tar.bz2 2007-AWOR-a25edc8edf23e652dbd529b8c42199ae559905a1.zip |
Version alpha_old6 2007-02-22+15:45:00 - 2007-03-12+13:59:02
Diffstat (limited to 'appli_3_alpha_old/app/sendmail.php')
-rw-r--r-- | appli_3_alpha_old/app/sendmail.php | 3 |
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> |