From 7d851c64ec4a3a0fa219a5ae6dc9a02a0900149f Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Wed, 28 May 2014 18:01:48 +0200 Subject: [PATCH] improvement for mail composition (disabled text version to avoid problems with some clients) --- web/Obj/mail.phh | 5 +++-- web/index_wr.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/Obj/mail.phh b/web/Obj/mail.phh index d0d6ea7..1471166 100644 --- a/web/Obj/mail.phh +++ b/web/Obj/mail.phh @@ -21,7 +21,8 @@ function brisk_mail($to, $subject, $text, $html) $mime = new Mail_mime($brisk_mail_hp); - $mime->setTXTBody($text); + // disabled to avoid client problems + // $mime->setTXTBody($text); $mime->setHTMLBody($html); $body = $mime->get(); @@ -33,4 +34,4 @@ function brisk_mail($to, $subject, $text, $html) return TRUE; } -?> \ No newline at end of file +?> diff --git a/web/index_wr.php b/web/index_wr.php index d8a1d65..3e862d1 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -75,7 +75,7 @@ $mlang_indwr = array( 'btn_backtotab' => array( 'it' => 'Torna ai tavoli.', 'Ciao, sono l\' amministratore del sito di Brisk. L\' utente \'%s\' ha garantito per te col nickname \'%s\', -vai al link: %s +vai al link: <%s> per confermare il tuo indirizzo di posta elettronica. Ciò è necessario per ottenere la password. -- 2.17.1