ایمیل موقت
صندوقهای یکبارمصرف برای ثبتنام یا آزمایش.
ابزارهای ایمیل موقت
| ابزار | چه میکند |
|---|---|
| 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حداکثر 50cursorstringThe 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