Get message source
Retrieve raw RFC822 source of a message as message/rfc822 attachment. Does not change the message \Seen flag.
Retrieve raw RFC822 source of a message as message/rfc822 attachment. Does not change the message \Seen flag.
Bearer authentication using API tokens in the Authorization header.
Resource ID of the managed mailbox the bearer token is authorized for.
AC1a2b3c4d5e6f7gFolder path (URL-encoded).
INBOXMessage UID.
42Raw RFC822 source.
Missing or invalid credentials.
Token is not authorized to manage the requested mailbox.
Resource not found.
Request payload failed validation. params maps field name to an array of error messages.
Server-side failure.
Upstream service is unavailable or returned an unexpected response.
Upstream service did not respond within the configured timeout.
GET /api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/{uid}/source HTTP/1.1
Host: api.mail.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryLast updated
Was this helpful?