Mailpit email handling class.
More...
|
| | __construct (string $baseuri) |
| | Constructor.
|
| |
| | delete_all () |
| | Delete all messages from the mailpit server.
|
| |
| | get_message_data (string $id) |
| | Get the message summary for a specific message.
|
| |
| | get_messages (bool $showdetails=false) |
| | Get a list of messages from the mailpit server.
|
| |
|
| reset_after_test () |
| | Reset the mailpit server after a test.
|
| |
| | search (string $query) |
| | Search for a message in the mailpit server.
|
| |
Mailpit email handling class.
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| core\test\mailpit_email_catcher::__construct |
( |
string | $baseuri | ) |
|
Constructor.
- Parameters
-
| string | $baseuri | The base uri for the mailpit server. |
◆ delete_all()
| core\test\mailpit_email_catcher::delete_all |
( |
| ) |
|
◆ get_message_data()
| core\test\mailpit_email_catcher::get_message_data |
( |
string | $id | ) |
|
Get the message summary for a specific message.
- Parameters
-
- Return values
-
◆ get_messages()
| core\test\mailpit_email_catcher::get_messages |
( |
bool | $showdetails = false | ) |
|
Get a list of messages from the mailpit server.
- Parameters
-
| bool | $showdetails | Optional. Whether to include detailed information in the messages. Default is false. |
- Return values
-
Implements core\test\email_catcher.
◆ search()
| core\test\mailpit_email_catcher::search |
( |
string | $query | ) |
|
Search for a message in the mailpit server.
- Parameters
-
| string | $query | The search query. |
- Return values
-
Implements core\test\email_catcher.
The documentation for this class was generated from the following file:
- lib/classes/test/mailpit_email_catcher.php