[wp-trac] [WordPress Trac] #23642: wp_mail() returns true if sending failed
WordPress Trac
noreply at wordpress.org
Sat Jun 29 21:11:57 UTC 2013
#23642: wp_mail() returns true if sending failed
------------------------------+-----------------------
Reporter: chmac | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.6
Component: Mail | Version: 3.2
Severity: minor | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by iandunn):
Thanks for catching that Sergey, I've added another test to cover that.
The only way I could see to get PHPMailer to return false was to disable
exceptions. chmac, can you confirm that's what you were doing? If not,
maybe PHPMailer changed its behavior since this ticket was opened?
Side note: I always thought that tests were supposed to be isolated as
much as possible, to make sure changes to the system state from one test
didn't affect the other tests. Are you combining them so that the suite
runs faster, and then just manually checking to make sure that the
combined tests don't have any side-effects on each other? I kept the new
test separate from the others, since it does change the system state.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23642#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list