Revision 2062
Added by darkviper almost 11 years ago
class.wb.php | ||
---|---|---|
664 | 664 |
$myMail->AltBody = strip_tags($message); // CONTENT (TEXT) |
665 | 665 |
// check if there are any send mail errors, otherwise say successful |
666 | 666 |
if (!$myMail->Send()) { |
667 |
if (DEBUG) { msgQueue::add('PHPMailer Error: '.$myMail->ErrorInfo); } |
|
667 | 668 |
return false; |
668 | 669 |
} else { |
669 | 670 |
return true; |
Also available in: Unified diff
! wb::mail added message on error if DEBUG is set