Index: tests/mail.php
===================================================================
--- tests/mail.php	(revision 1299)
+++ tests/mail.php	(working copy)
@@ -210,4 +210,28 @@
 		$this->assertEquals($message . "\n", $GLOBALS['phpmailer']->mock_sent[0]['body']);
 		unset( $_SERVER['SERVER_NAME'] );
 	}
+
+	/**
+	 * @ticket 23642
+	 */
+	function test_wp_mail_return_true_with_no_errors() {
+		$result = wp_mail( 'valid@address.com', 'subject', 'body' );
+		$this->assertTrue( $result );
+	}
+
+	/**
+	 * @ticket 23642
+	 */
+	function test_wp_mail_return_true_with_non_fatal_errors() {
+		$result = wp_mail( 'valid@address.com', 'subject', 'body', "Cc: invalid-address\nBcc: @invalid.address", ABSPATH . '/non-existant-file.html' );
+		$this->assertTrue( $result );
+	}
+
+	/**
+	 * @ticket 23642
+	 */
+	function test_wp_mail_return_false_for_fatal_errors() {
+		$result = wp_mail( 'invalid.address', 'subject', 'body', '', array() );
+		$this->assertFalse( $result );
+	}
 }
