Skip to main content
Receiving endpoints are exposed through the ReceivingLibrary class, which uses the same Token token= authentication as EmailLibrary.
Or with IConfiguration:

Domains

List domains

The API reports a domain’s status in status and state, which ReceivingDomain in SDK v1.3.1 through v2.0.0 doesn’t map. Its Verified property is always false, and Slug and DnsRecords are always null.

Create a domain

Omit the slug or pass null to auto-generate one.

Get a domain

Delete a domain

Mailboxes

List mailboxes

Create a mailbox

Get a mailbox

Delete a mailbox

Emails

List received emails

ListReceivedEmailsParams also accepts After and Before cursors for pagination; HasMore on the response indicates whether more results exist.

Get a received email

Download an attachment

Pass the attachment’s Id from ReceivedEmail.Attachments. The content is returned as bytes:
DownloadAttachment is obsolete: it returns the content as a string, which corrupts binary files.