projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding "smtp_helo_override" hook
[squirrelmail.git]
/
functions
/
identity.php
diff --git
a/functions/identity.php
b/functions/identity.php
index 55ed924628249c8d7b70764ad94e6b8fd3fdf2ca..71db5e41bcd3e193701e1b51ff84dd70eac602b0 100644
(file)
--- a/
functions/identity.php
+++ b/
functions/identity.php
@@
-5,7
+5,7
@@
*
* This contains utility functions for dealing with multiple identities
*
*
* This contains utility functions for dealing with multiple identities
*
- * @copyright 1999-201
0
The SquirrelMail Project Team
+ * @copyright 1999-201
5
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@
-241,9
+241,9
@@
function build_from_header($identity = 0) {
$from_mail .= '@' . $domain;
if ( isset($from_name) ) {
$from_mail .= '@' . $domain;
if ( isset($from_name) ) {
- $from_name_encoded = encodeHeader(
$from_name
);
+ $from_name_encoded = encodeHeader(
'"' . $from_name . '"'
);
if ($from_name_encoded != $from_name) {
if ($from_name_encoded != $from_name) {
- return
'"' . $from_name_encoded . '"
<' . $from_mail . '>';
+ return
$from_name_encoded . '
<' . $from_mail . '>';
}
return '"' . $from_name . '" <' . $from_mail . '>';
}
}
return '"' . $from_name . '" <' . $from_mail . '>';
}