Table of Contents

Interface IInboundResource

Namespace
Mailtrap.Inbound
Assembly
Mailtrap.Abstractions.dll

Represents the token-scoped root of the Inbound Email API.

public interface IInboundResource : IRestResource
Inherited Members

Methods

Folder(long)

Gets the resource for a specific inbound folder, identified by folderId.

IInboundFolderResource Folder(long folderId)

Parameters

folderId long

ID of the folder to get resource for.

Returns

IInboundFolderResource

Resource for the folder with the specified ID.

Folders()

Gets the inbound folder collection resource.

IInboundFolderCollectionResource Folders()

Returns

IInboundFolderCollectionResource

Inbound folder collection resource.

Inbox(long)

Gets the message and thread resources for a specific inbox, identified by inboxId.

IInboundInboxContentResource Inbox(long inboxId)

Parameters

inboxId long

ID of the inbox to get resource for.

Returns

IInboundInboxContentResource

Resource exposing the messages and threads of the inbox with the specified ID.

Remarks

Inbox management (create/list/get/update/delete) is folder-scoped - see Inboxes() and Inbox(long).