@@ 3398-3404 (lines=7) @@ | ||
3395 | list($name, $address) = $this->getMail()->address_split($address); |
|
3396 | $this->getMail()->AddAddress($address, $name); |
|
3397 | } |
|
3398 | if (isset($p['cc'])) { |
|
3399 | $p['cc'] = explode(',', $p['cc']); |
|
3400 | foreach ($p['cc'] as $address) { |
|
3401 | list($name, $address) = $this->getMail()->address_split($address); |
|
3402 | $this->getMail()->AddCC($address, $name); |
|
3403 | } |
|
3404 | } |
|
3405 | if (isset($p['bcc'])) { |
|
3406 | $p['bcc'] = explode(',', $p['bcc']); |
|
3407 | foreach ($p['bcc'] as $address) { |
|
@@ 3405-3411 (lines=7) @@ | ||
3402 | $this->getMail()->AddCC($address, $name); |
|
3403 | } |
|
3404 | } |
|
3405 | if (isset($p['bcc'])) { |
|
3406 | $p['bcc'] = explode(',', $p['bcc']); |
|
3407 | foreach ($p['bcc'] as $address) { |
|
3408 | list($name, $address) = $this->getMail()->address_split($address); |
|
3409 | $this->getMail()->AddBCC($address, $name); |
|
3410 | } |
|
3411 | } |
|
3412 | if (isset($p['from']) && strpos($p['from'], '<') !== false && substr($p['from'], -1) === '>') { |
|
3413 | list($p['fromname'], $p['from']) = $this->getMail()->address_split($p['from']); |
|
3414 | } |