API
[ HMbOZe60CUyJDBui98pW ]
For all you tech geeks out there, TMail offers API as well so that you can create your own Apps using it.
To use API, you will need to generate a API Key by going to your TMail Admin Panel -> Settings -> Advance (section). You can generate multiple API Keys.
List Domains
Get the current list of available domains.
GET
https://yourdomain.com/api/domains/[apikey]
Parameters
[apikey] - Key which you may have set in your Admin Panel of TMail.
Create Email
Validate the Email ID and provides a sanitized one.
GET
https://yourdomain.com/api/email/[email]/[apikey]
Parameters
[apikey] - Key which you may have set in your Admin Panel of TMail.
[email] - Email ID that you want to create.
Fetch Messages
Get email messages of the provided Email ID.
GET
https://yourdomain.com/api/messages/[email]/[apikey]
Parameters
[apikey] - Key which you may have set in your Admin Panel of TMail.
[email] - Email ID that you want to create.
Delete Message
Delete a specific email message with the given ID.
DELETE
https://yourdomain.com/api/message/[message_id]/[apikey]
Parameters
[apikey] - Key which you may have set in your Admin Panel of TMail.
[message_id] - Unique identifier for the specific message to delete.