diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-11-18 15:47:00 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-11-18 15:47:00 +0000 |
| commit | aec4bd921d413dd835f21f4ab6765fab7e882d89 (patch) | |
| tree | 2269416a3a7446aea8b697f7287ee0209347888d /roundcubemail/program/steps | |
| parent | 1b30f7f11024e335cb6b79e9b87b40e3ee520081 (diff) | |
Minor bugfixes
git-svn-id: https://svn.roundcube.net/trunk@87 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index 4531aa311..11fb559dd 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/program/steps/mail/sendmail.inc @@ -73,6 +73,11 @@ if (empty($_POST['_to']) && empty($_POST['_subject']) && $_POST['_message']) } +// set default charset +if (empty($CHARSET)) + $CHARSET = 'ISO-8859-1'; + + $mailto_regexp = array('/,\s*[\r\n]+/', '/[\r\n]+/', '/,\s*$/m'); $mailto_replace = array(' ', ', ', ''); |
