تخطَّ إلى المستندات
خادم 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