is there a way to get an email attachment when specifying the message id?
The “get email” endpoint returns emails but not able to specify a value to return just attachments from the response
Hi!
A new endpoint is now available to directly download attachments.
To get list of email attachments, call this endpoint: add “/attachments” at the end of the path.
curl -H “x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com” -H "x-rapidapi-key: place-your_rapidapi_key_here" https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/attachments JSON Response includes all attachments found in the email body:
{“attachments”: [ {“idx”: 0, “filename”: “ronaldo.png”, “size”: 99663, “content-type”: “image/png; name=“ronaldo.png””}, {“idx”: 1, “filename”: “README.md”, “size”: 18876, “content-type”: “text/markdown; charset=“US-ASCII”; name=“README.md””} ] } To download a specific attachment, add idx query parameter.
curl -H “x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com” -H "x-rapidapi-key: place-your_rapidapi_key_here" https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/attachments?idx=0
Feel free to give me feedback. Regards
No, the “get email content” endpoint returns complete email message only.
But your request is interesting and i think I’ll add this feature soon. Can you send me an example of the API request you will like?
Thanks, Vittorio
아래에 의견을 추가하고 토론에 참여하세요.
Hi!
A new endpoint is now available to directly download attachments.
To get list of email attachments, call this endpoint: add “/attachments” at the end of the path.
curl -H “x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com”
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/attachments
JSON Response includes all attachments found in the email body:
{“attachments”: [
{“idx”: 0, “filename”: “ronaldo.png”, “size”: 99663, “content-type”: “image/png; name=“ronaldo.png””},
{“idx”: 1, “filename”: “README.md”, “size”: 18876, “content-type”: “text/markdown; charset=“US-ASCII”; name=“README.md””}
]
}
To download a specific attachment, add idx query parameter.
curl -H “x-rapidapi-host:easy-fast-temp-mail.p.rapidapi.com”
-H "x-rapidapi-key: place-your_rapidapi_key_here"
https://easy-fast-temp-mail.p.rapidapi.com/passionately.unshammed@my24h.email/n2hekqdpg9peph1ncbiivokuh1ki9qr4fqn3s001/attachments?idx=0
Feel free to give me feedback.
Regards
Hi!
No, the “get email content” endpoint returns complete email message only.
But your request is interesting and i think I’ll add this feature soon.
Can you send me an example of the API request you will like?
Thanks,
Vittorio