Geçici posta
Bir kayıt ya da test için tek kullanımlık gelen kutuları.
Geçici posta araçları
| Araç | Ne yapar |
|---|---|
| listTempMailDomains | Geçici bir gelen kutusunun oluşturulabileceği alan adları. |
| createTempInbox | Yeni bir tek kullanımlık adres ve onu açan gelen kutusu tokenı. Tokenı saklayın: diğer tüm geçici posta araçları ona ihtiyaç duyar. |
| getTempInbox | Bir gelen kutusunun adresi, süresinin ne zaman dolacağı, kaç uzatma hakkı kaldığı ve kaç ileti tuttuğu. |
| listTempMessages | Bir gelen kutusunun aldığı iletiler, en yenisi önce, gönderen, konu, geliş zamanı ve bir metin parçasıyla birlikte. |
| readTempMessage | Tek bir ileti ve metni, ayrıca ileti bir doğrulama e-postasıysa ve OpenEmail koddan eminse giriş kodu. |
| extendTempInbox | Bir gelen kutusunu daha uzun süre açık tutun. Bundan sonra kullanılacak yeni bir token döndürür. |
| deleteTempMessage | Bir gelen kutusundaki tek bir iletiyi kalıcı olarak silin. |
| deleteTempInbox | Bir gelen kutusunu hemen kapatın ve aldığı her şeyi silin. |
Bunlar OpenEmail web sitesinin ücretsiz tek kullanımlık gelen kutularıdır. Bir gelen kutusu hiçbir çalışma alanına ait değildir ve kendi tokenıyla açılır, bu yüzden araçlar izin gerektirmez ve token tek anahtardır. Tokenı elinde bulunduran herkes gelen kutusunu okuyabilir.
Adrese gelen posta en fazla bir gün saklanır. Seçilen bir ad tahmin edilebilir ve gelen kutusunun süresi dolunca başka biri tarafından alınır, bu yüzden rastgele bir ad için localPart belirtmeyin.
Referans
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.
Girdiler
Girdi almaz.
Şurada da var
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.
Girdiler
domainstringOne of the domains listTempMailDomains names. Defaults to the first.
En çok 253 karakterlocalPartstringThe 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.
En çok 64 karakterttlMinutesintegerHow long the inbox lasts, in minutes.
En az 1En çok 1440
Şurada da var
- 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.
Girdiler
tokenstringZorunluThe inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1 ile 4096 karakter arası
Şurada da var
- 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.
Girdiler
tokenstringZorunluThe inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1 ile 4096 karakter arasılimitintegerHow many messages to return.
En az 1En çok 50cursorstringThe next cursor of the previous page.
1 ile 512 karakter arası
Şurada da var
- 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.
Girdiler
tokenstringZorunluThe inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1 ile 4096 karakter arasımessageIdstringZorunluThe message id listTempMessages returned.
1 ile 512 karakter arası
Şurada da var
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.
Girdiler
tokenstringZorunluThe inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1 ile 4096 karakter arası
Şurada da var
- 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.
Girdiler
tokenstringZorunluThe inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1 ile 4096 karakter arasımessageIdstringZorunluThe message id listTempMessages returned.
1 ile 512 karakter arası
Şurada da var
deleteTempInbox
Close a temporary inbox now and delete everything it received. Its token stops working.
Girdiler
tokenstringZorunluThe inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.
1 ile 4096 karakter arası
Şurada da var
- API
DELETE /temp-mail/inboxes/{id}- TypeScript
tempMail.delete()- Python
temp_mail.delete()- Ruby
temp_mail.delete- PHP
tempMail->delete