임시 메일
가입이나 테스트에 쓰는 일회용 받은편지함.
임시 메일 도구
| 도구 | 하는 일 |
|---|---|
| listTempMailDomains | 임시 받은편지함을 만들 수 있는 도메인. |
| createTempInbox | 새 일회용 주소와 그 주소를 여는 받은편지함 토큰. 토큰을 보관하세요. 다른 임시 메일 도구는 모두 이 토큰이 필요합니다. |
| getTempInbox | 받은편지함의 주소, 만료 시각, 남은 연장 횟수, 담고 있는 메시지 수. |
| listTempMessages | 받은편지함이 받은 메시지를 최신순으로, 발신자, 제목, 도착 시각, 발췌와 함께. |
| readTempMessage | 메시지 하나를 텍스트와 함께 돌려주며, 인증 이메일이고 OpenEmail이 코드를 확신하면 로그인 코드도 함께 돌려줍니다. |
| extendTempInbox | 받은편지함을 더 오래 열어 둡니다. 이후에 쓸 새 토큰을 돌려줍니다. |
| deleteTempMessage | 받은편지함의 메시지 하나를 영구히 삭제합니다. |
| deleteTempInbox | 받은편지함을 지금 닫고 받은 것을 모두 삭제합니다. |
여기서 다루는 것은 OpenEmail 웹사이트의 무료 일회용 받은편지함입니다. 받은편지함은 어떤 워크스페이스에도 속하지 않고 자체 토큰으로 열리므로, 이 도구들은 권한이 필요 없고 토큰이 유일한 열쇠입니다. 토큰을 가진 사람은 누구나 받은편지함을 읽을 수 있습니다.
그 주소로 온 메일은 최대 하루 동안 보관됩니다. 직접 고른 이름은 추측될 수 있고 받은편지함이 만료되면 다른 사람이 가져갈 수 있으므로, 무작위 이름을 쓰려면 localPart를 빼세요.
레퍼런스
listTempMailDomains
List the domains a temporary inbox can be made on, the free disposable addresses of the OpenEmail website. A temporary inbox belongs to no workspace and opens with its own token.
입력
입력을 받지 않습니다.
다른 사용처
createTempInbox
Make a temporary inbox: a disposable address that receives mail for a while, for a sign-up or a test, without touching the workspace. Returns the address and an inbox token that every other temporary mail tool needs, so keep it. Read what arrives with listTempMessages and readTempMessage, which also gives the sign-in code of a verification email. The inbox lasts an hour by default and at most 1440 minutes in all.
입력
domainstringOne of the domains listTempMailDomains names. Defaults to the first.
최대 253자localPartstringThe part before the @. Leave it out for a random one: a chosen name can be guessed and is taken by somebody else once the inbox expires.
최대 64자ttlMinutesintegerHow long the inbox lasts, in minutes.
1 이상1440 이하
다른 사용처
- API
POST /temp-mail/inboxes- TypeScript
tempMail.create()- Python
temp_mail.create()- Ruby
temp_mail.create- PHP
tempMail->create
getTempInbox
Read a temporary inbox: its address, when it expires, how many extensions are left and how many messages it holds.
입력
tokenstring필수The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1~4096자
다른 사용처
- API
GET /temp-mail/inboxes/{id}GET /temp-mail/inboxes/{id}/messages- TypeScript
tempMail.get()tempMail.listMessages()tempMail.listAllMessages()tempMail.iterateMessages()- Python
temp_mail.get()temp_mail.list_messages()temp_mail.list_all_messages()temp_mail.iterate_messages()- Ruby
temp_mail.gettemp_mail.list_messagestemp_mail.list_all_messagestemp_mail.iterate_messages- PHP
tempMail->gettempMail->listMessagestempMail->listAllMessagestempMail->iterateMessages
listTempMessages
List the messages a temporary inbox has received, newest first: id, sender, subject, when it arrived and a snippet.
입력
tokenstring필수The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1~4096자limitintegerHow many messages to return.
1 이상50 이하cursorstringThe next cursor of the previous page.
1~512자
다른 사용처
- API
GET /temp-mail/inboxes/{id}GET /temp-mail/inboxes/{id}/messages- TypeScript
tempMail.get()tempMail.listMessages()tempMail.listAllMessages()tempMail.iterateMessages()- Python
temp_mail.get()temp_mail.list_messages()temp_mail.list_all_messages()temp_mail.iterate_messages()- Ruby
temp_mail.gettemp_mail.list_messagestemp_mail.list_all_messagestemp_mail.iterate_messages- PHP
tempMail->gettempMail->listMessagestempMail->listAllMessagestempMail->iterateMessages
readTempMessage
Read one message of a temporary inbox: sender, subject, when it arrived, the sign-in code when it is a verification email and OpenEmail is sure of it, and the text.
입력
tokenstring필수The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1~4096자messageIdstring필수The message id listTempMessages returned.
1~512자
다른 사용처
extendTempInbox
Keep a temporary inbox open longer. Each extension adds time up to 1440 minutes in all, at most 23 times. It returns a new inbox token: use it from then on.
입력
tokenstring필수The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1~4096자
다른 사용처
- API
POST /temp-mail/inboxes/{id}/extend- TypeScript
tempMail.extend()- Python
temp_mail.extend()- Ruby
temp_mail.extend- PHP
tempMail->extend
deleteTempMessage
Delete one message of a temporary inbox for good.
입력
tokenstring필수The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1~4096자messageIdstring필수The message id listTempMessages returned.
1~512자
다른 사용처
deleteTempInbox
Close a temporary inbox now and delete everything it received. Its token stops working.
입력
tokenstring필수The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1~4096자
다른 사용처
- API
DELETE /temp-mail/inboxes/{id}- TypeScript
tempMail.delete()- Python
temp_mail.delete()- Ruby
temp_mail.delete- PHP
tempMail->delete