Opened 15 years ago
Closed 15 years ago
#15687 closed enhancement (wontfix)
debug/echo wordpress emails
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.0.2 |
| Component: | Keywords: | close | |
| Focuses: | Cc: |
Description
in a testing environment, devs and theme designers needs a way to debug the sent emails from wordpress without actually sending real emails "outside":
We need a menu/function/variable where we set a debug mode for emails, that way wordpress knows that we don't want to send real emails outside but just a test: this way it echos back the email.
Change History (2)
#2
@
15 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
And the code is half written for you too.
http://unit-tests.trac.wordpress.org/browser/wp-testlib/mock-mailer.php
You can just create a derived class to do this.
Note: See
TracTickets for help on using
tickets.
"Debug WordPress Emails" sounds like an excellent name for a plugin. :-)