For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get message source

Retrieve raw RFC822 source of a message as message/rfc822 attachment. Does not change the message \Seen flag.

Get message source

get

Retrieve raw RFC822 source of a message as message/rfc822 attachment. Does not change the message \Seen flag.

Authorizations
AuthorizationstringRequired

Bearer authentication using API tokens in the Authorization header.

Path parameters
mailboxResourceIdstringRequired

Resource ID of the managed mailbox the bearer token is authorized for.

Example: AC1a2b3c4d5e6f7g
folderstringRequired

Folder path (URL-encoded).

Example: INBOX
uidinteger · min: 1Required

Message UID.

Example: 42
Responses
200

Raw RFC822 source.

message/rfc822
string · binaryOptional
get/api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/source
GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/source HTTP/1.1
Host: api.mail.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

Last updated

Was this helpful?