一時メール
登録やテストに使う使い捨て受信トレイ。
一時メールのツール
| ツール | 機能 |
|---|---|
| listTempMailDomains | 使い捨て受信トレイを作成できるドメイン。 |
| createTempInbox | 新しい使い捨てアドレスと、それを開く受信トレイのトークン。トークンは保管しておくこと。ほかの一時メールのツールはどれもこのトークンを必要とする。 |
| getTempInbox | 受信トレイのアドレス、有効期限、残りの延長回数、保持しているメッセージ数。 |
| listTempMessages | 受信トレイが受け取ったメッセージを新しい順に、送信者、件名、到着時刻、抜粋とともに。 |
| readTempMessage | メッセージ 1 通とそのテキスト。確認メールで、OpenEmail がコードを確信できるときは、そのサインインコードも返す。 |
| extendTempInbox | 受信トレイをより長く開いたままにする。以降に使う新しいトークンを返す。 |
| deleteTempMessage | 受信トレイのメッセージを 1 通、完全に削除する。 |
| deleteTempInbox | 受信トレイを今すぐ閉じ、受け取ったものをすべて削除する。 |
これらは OpenEmail のウェブサイトにある無料の使い捨て受信トレイである。受信トレイはどのワークスペースにも属さず、専用のトークンで開くので、ツールに権限は不要で、トークンが唯一の鍵となる。トークンを持っている人は誰でも受信トレイを読める。
アドレス宛てのメールが保存されるのは最長 1 日である。自分で選んだ名前は推測される可能性があり、受信トレイの期限が切れるとほかの人に取得されることがあるので、ランダムな名前にするには 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