Changeset View
Changeset View
Standalone View
Standalone View
externals/phpmailer/class.phpmailer-lite.php
| Show First 20 Lines • Show All 650 Lines • ▼ Show 20 Lines | public function AddrAppend($type, $addr) { | ||||
| $addr_str = $type . ': '; | $addr_str = $type . ': '; | ||||
| $addresses = array(); | $addresses = array(); | ||||
| foreach ($addr as $a) { | foreach ($addr as $a) { | ||||
| $addresses[] = $this->AddrFormat($a); | $addresses[] = $this->AddrFormat($a); | ||||
| } | } | ||||
| $addr_str .= implode(', ', $addresses); | $addr_str .= implode(', ', $addresses); | ||||
| $addr_str .= $this->LE; | $addr_str .= $this->LE; | ||||
| // NOTE: This is a narrow hack to fix an issue with 1000+ characters of | |||||
| // recipients, described in T12372. | |||||
| $addr_str = wordwrap($addr_str, 75, "\n "); | |||||
| return $addr_str; | return $addr_str; | ||||
| } | } | ||||
| /** | /** | ||||
| * Formats an address correctly. | * Formats an address correctly. | ||||
| * @access public | * @access public | ||||
| * @return string | * @return string | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 1,416 Lines • Show Last 20 Lines | |||||