From 628e6ba732c80aa816fe027b80d611eeac565423 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Tue, 7 Mar 2006 19:57:13 +0100 Subject: [PATCH] fix for the windows' limited to: header support in mails FS#738 darcs-hash:20060307185713-7ad00-d0952c48ec84d20d4a50897c670129ae5b4c7e09.gz --- inc/mail.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/mail.php b/inc/mail.php index b4ca10551..6bd3169b4 100644 --- a/inc/mail.php +++ b/inc/mail.php @@ -121,6 +121,8 @@ function mail_encode_address($string,$header='',$names=true){ if(!utf8_isASCII($text)){ $text = '=?UTF-8?Q?'.mail_quotedprintable_encode($text).'?='; } + }else{ + $text = ''; } // add to header comma seperated and in new line to avoid too long headers -- GitLab