REST API Method: email Manages FROM header addresses used for this account. URL: https://api.mailmonitorapp.com/mma/setup/email
HTTP Method(s): GET, POST, DELETE
GET
Returns all FROM header addresses for this account. https://api.mailmonitorapp.com/mma/setup/email A JSON array of From Address objects. Each From Address has an ID and an Email field. [ { "id":123, "email":"from1@example1.com" }, { "id":456, "email":"from2@example2.com" },
Creates a new FROM header address for this account. POST to https://api.mailmonitorapp.com/mma/setup/email POST BODY: fromAddress=from3%40example3.com ('from3@example3.com' after URL encoding) A JSON From Address object, consisting of an ID and an Email field. { "id":789, "email":"from3@example3.com" }
Removes a FROM header address from this account.
URL: https://api.mailmonitorapp.com/mma/setup/email/${fromid}
Parameters: fromid -- id of a From Address object
Example: DELETE https://api.mailmonitorapp.com/mma/setup/email/789
Response: HTTP Error Code and message
Example Response: [HTTP Status Code 200] DELETED EMAIL 789
|
|