
Property changes on: .
___________________________________________________________________
Added: svn:ignore
   + .wp-config.php.swp


Index: wp-includes/pluggable.php
===================================================================
--- wp-includes/pluggable.php	(revision 19998)
+++ wp-includes/pluggable.php	(working copy)
@@ -433,6 +433,9 @@
 	try {
 		$phpmailer->Send();
 	} catch ( phpmailerException $e ) {
+		if ( WP_DEBUG )
+			error_log( sprintf('Cannot send mail.  Subject: %s -- Error: %s', $subject, $e->getCode(), $e->getMessage() ) );
+		do_action( 'wp_mail_fail', new WP_Error( $e->getCode(), $e->getMessage() ) );
 		return false;
 	}
 
