summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib/Mail/mime.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-12-06 21:37:37 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-12-06 21:37:37 +0000
commita66915f63c8b263d36a18e0361176ed251e6fe9a (patch)
treee87abae049a71a59a6db36724e98ee7f1fd8e2e2 /roundcubemail/program/lib/Mail/mime.php
parentf2529dc50da800a75bfa4d9c814125ee363115b9 (diff)
Optimized memory usage when sending mail; Include SMTP response in log; Fixed wrong header encoding
git-svn-id: https://svn.roundcube.net/trunk@399 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib/Mail/mime.php')
-rw-r--r--roundcubemail/program/lib/Mail/mime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/Mail/mime.php b/roundcubemail/program/lib/Mail/mime.php
index 96d7025d8..a9f798ed8 100644
--- a/roundcubemail/program/lib/Mail/mime.php
+++ b/roundcubemail/program/lib/Mail/mime.php
@@ -820,7 +820,7 @@ class Mail_mime
if (preg_match('#[\x80-\xFF]{1}#', $value)) {
$suffix = '';
// Don't encode e-mail address
- if (preg_match('/(.+)\s(<.+@[a-z0-9\-\.]+\.[a-z]{2,5}>)$/Ui', $value, $matches)) {
+ if (preg_match('/(.+)\s(<.+@[a-z0-9\-\.]+>)$/Ui', $value, $matches)) {
$value = $matches[1];
$suffix = ' '.$matches[2];
}