Changeset 24966 for trunk/include
- Timestamp:
- Oct 17, 2013, 9:38:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_mail.inc.php
r24952 r24966 540 540 if (!empty($args['Bcc'])) 541 541 { 542 $headers.= 'Bcc: '.implode(',', $args['Bcc'])."\n";543 544 542 foreach ($args['Bcc'] as $bcc) 545 543 { … … 705 703 } 706 704 } 707 708 if(!$mail->send()) 709 { 710 // TODO use standard error 711 echo 'Message could not be sent.'; 712 echo 'Mailer Error: ' . $mail->ErrorInfo; 713 exit; 714 } 705 706 $ret = $mail->send(); 707 if(!$ret) 708 { 709 trigger_error( 'Mailer Error: ' . $mail->ErrorInfo, E_USER_WARNING); 710 } 711 return $ret; 715 712 } 716 713
Note: See TracChangeset
for help on using the changeset viewer.