heithem / mailtm
There is no license information available for the latest version (dev-main) of this package.
dev-main
2024-02-24 01:33 UTC
Requires
- php: >=8.1
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2025-04-24 04:01:51 UTC
README
To see all results, check out the API page: https://api.mail.tm/
User needs to login to access JWT token. Registration does not return this information, log in after registration.
After the login process, the user's JWT token and ID are assigned to mailtm.token
and mailtm.id
Domain
List Domains
$result = (new Mailtm())->getDomains();
Get Domain
$result = (new Mailtm())->getDomains('[domain id]');