پرش به مستندات
سرور MCP

ایمیل موقت

صندوق‌های یک‌بارمصرف برای ثبت‌نام یا آزمایش.

ابزارهای ایمیل موقت

ابزارچه می‌کند
listTempMailDomainsدامنه‌هایی که می‌توان روی آن‌ها صندوق موقت ساخت.
createTempInboxیک نشانی یک‌بارمصرف تازه و توکن صندوقی که آن را باز می‌کند. توکن را نگه دارید: همهٔ ابزارهای دیگر ایمیل موقت به آن نیاز دارند.
getTempInboxنشانی یک صندوق، زمان انقضایش، اینکه چند تمدید باقی مانده و چند پیام در آن است.
listTempMessagesپیام‌هایی که یک صندوق دریافت کرده، تازه‌ترین اول، با فرستنده، موضوع، زمان رسیدن و تکه‌ای از متن.
readTempMessageیک پیام با متنش، و کد ورودش وقتی ایمیل تأیید باشد و OpenEmail از کد مطمئن باشد.
extendTempInboxیک صندوق را مدت بیشتری باز نگه دارید. توکن تازه‌ای برمی‌گرداند که از آن پس باید همان را به کار ببرید.
deleteTempMessageیک پیام از یک صندوق را برای همیشه حذف کنید.
deleteTempInboxیک صندوق را همین حالا ببندید و هر چه را دریافت کرده حذف کنید.

این‌ها صندوق‌های یک‌بارمصرف رایگان وب‌سایت OpenEmail هستند. هر صندوق به هیچ فضای کاری تعلق ندارد و با توکن خودش باز می‌شود، پس ابزارها به هیچ مجوزی نیاز ندارند و توکن تنها کلید است. هر کسی که آن را داشته باشد می‌تواند صندوق را بخواند.

نامه‌هایی که به این نشانی می‌رسند حداکثر یک روز نگه داشته می‌شوند. نامی که خودتان برگزینید قابل حدس است و پس از انقضای صندوق کس دیگری آن را می‌گیرد، پس برای گرفتن نامی تصادفی localPart را نیاورید.

مرجع

listTempMailDomains

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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.

ورودی‌ها

هیچ ورودی‌ای نمی‌گیرد.

همچنین در دسترس در

API
GET /temp-mail/domains
TypeScript
tempMail.listDomains()
Python
temp_mail.list_domains()
Ruby
temp_mail.list_domains
PHP
tempMail->listDomains

createTempInbox

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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.

ورودی‌ها

domainstring

One of the domains listTempMailDomains names. Defaults to the first.

تا 253 نویسه
localPartstring

The 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 نویسه
ttlMinutesinteger

How 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

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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 نویسه
limitinteger

How many messages to return.

دست‌کم 1حداکثر 50
cursorstring

The 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

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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 نویسه

همچنین در دسترس در

API
GET /temp-mail/inboxes/{id}/messages/{messageId}
TypeScript
tempMail.getMessage()
Python
temp_mail.get_message()
Ruby
temp_mail.get_message
PHP
tempMail->getMessage

extendTempInbox

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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 نویسه

همچنین در دسترس در

API
DELETE /temp-mail/inboxes/{id}/messages/{messageId}
TypeScript
tempMail.deleteMessage()
Python
temp_mail.delete_message()
Ruby
temp_mail.delete_message
PHP
tempMail->deleteMessage

deleteTempInbox

بدون محدوده دسترسیدستیار برنامه آن را بدون پرسیدن اجرا می‌کندجعبه‌ابزارworkspace

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