Changeset 3798
- Timestamp:
- Aug 26, 2009, 10:14:57 PM (15 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/class_smtp_mail.inc.php
r3282 r3798 133 133 $this->server_parse('250'); 134 134 135 // Add "To:" on headers if there are included 135 136 if ((preg_match('/^\s*to\s*:.*/mi', $headers) === 0) and !empty($to)) 136 137 { -
trunk/include/functions_mail.inc.php
r3282 r3798 609 609 if (empty($to)) 610 610 { 611 // Add only when to is empty 612 // else mail() add 'To:' on header 611 613 $headers.= 'To: undisclosed-recipients: ;'."\n"; 612 }613 else614 {615 $headers.= 'To: '.$to."\n";616 614 } 617 615
Note: See TracChangeset
for help on using the changeset viewer.