| @@ 912-916 (lines=5) @@ | ||
| 909 | return false; |
|
| 910 | } |
|
| 911 | if ($kind != 'Reply-To') { |
|
| 912 | if (!array_key_exists(strtolower($address), $this->all_recipients)) { |
|
| 913 | array_push($this->$kind, array($address, $name)); |
|
| 914 | $this->all_recipients[strtolower($address)] = true; |
|
| 915 | return true; |
|
| 916 | } |
|
| 917 | } else { |
|
| 918 | if (!array_key_exists(strtolower($address), $this->ReplyTo)) { |
|
| 919 | $this->ReplyTo[strtolower($address)] = array($address, $name); |
|
| @@ 918-921 (lines=4) @@ | ||
| 915 | return true; |
|
| 916 | } |
|
| 917 | } else { |
|
| 918 | if (!array_key_exists(strtolower($address), $this->ReplyTo)) { |
|
| 919 | $this->ReplyTo[strtolower($address)] = array($address, $name); |
|
| 920 | return true; |
|
| 921 | } |
|
| 922 | } |
|
| 923 | return false; |
|
| 924 | } |
|