diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-04 12:27:06 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-04 12:27:06 +0000 |
| commit | 554818bcd078eab8a6184034e3b5940c6caaa02f (patch) | |
| tree | 4398582321dbae1bfcbc518e6054e46d0781f6b7 /roundcubemail/program/include/rcube_message.php | |
| parent | 893e2acccaab477c29217b234b1e0ff4799f9897 (diff) | |
- Add Reply-to-List feature (#1484252)
- Add Mail-Followup-To/Mail-Reply-To support (#1485547)
git-svn-id: https://svn.roundcube.net/trunk@4032 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_message.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_message.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_message.php b/roundcubemail/program/include/rcube_message.php index 4351f17f5..6a6186d47 100644 --- a/roundcubemail/program/include/rcube_message.php +++ b/roundcubemail/program/include/rcube_message.php @@ -115,7 +115,11 @@ class rcube_message */ public function get_header($name, $raw = false) { - $value = $this->headers->$name; + if ($this->headers->$name) + $value = $this->headers->$name; + else if ($this->headers->others[$name]) + $value = $this->headers->others[$name]; + return $raw ? $value : $this->imap->decode_header($value); } |
