mailinator
Provides methods for working with Mailinator service - www.mailinator.com
delete
Deletes sepcific email.
** Example of the returned object:**
Parameters:
Name | Type | Description |
---|---|---|
|
| Message ID. |
Returns:
Object
- Status.
fetch
Fetches specific email.
** Example of the returned object:**
Parameters:
Name | Type | Description |
---|---|---|
|
| Message ID. |
Returns:
Object
- Email details. E.g.
getBody
Extracts first available email body.
Parameters:
Name | Type | Description |
---|---|---|
|
| Email object returned by mailiniator.fetch |
Returns:
String
- Email body.
getSubject
Extracts email's subject.
Parameters:
Name | Type | Description |
---|---|---|
|
| Email object returned by mailiniator.fetch |
Returns:
String
- Email subject.
init
Initializes mailinator module.
Parameters:
Name | Type | Description |
---|---|---|
|
| API token. |
|
|
|
list
Fetches inbox messages or all saved messages.
** Example of the returned object:**
Parameters:
Name | Type | Description |
---|---|---|
|
|
|
Returns:
Object
- List containing message details.
Last updated