nakoo / Temporary-Mail

Using the temporary mail system provided by several sites in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temporary-Mail

Using the temporary mail system provided by several sites in Python

Site Supporting Domain
temp-mail.io cloud-mail.top, greencafe24.com, crepeau12.com, appzily.com, coffeetimer24.com, popcornfarm7.com, bestparadize.com, kjkszpjcompany.com, cashflow35.com, crossmailjet.com, kobrandly.com, blondemorkin.com, block521.com, best-john-boats.com, popcornfly.com, plancetose.com
ruu.kr ruu.kr, iralborz.bid, kumli.racing
Supporting Site
create_mail temp-mail.io
remove_mail ruu.kr, temp-mail.io(If you have the token)
receive_mail temp-mail.io, ruu.kr

Reference

  • This code is based on the temporary email system provided by ruu.kr and temp-mail.io, and will not be available when the domain provided by both sites expires.
  • The domain that supports create_mail must create the email to receive it.
  • In order to receive mail, ruu.kr does not need to create mail, and temp-mail.io needs to create mail.
  • I can add additional functions or mail domains.

Quick Example

import tempmail

domain = ""  # Ex. ruu.kr
name = ""  # Ex. abcde12345
tm = tempmail.TemporaryMail(domain)

# token = tm.create_mail(name) # Only temp-mail.io
print(tm.receive_mail(name))
# tm.remove_mail(name, token) # Only ruu.kr can be used, but if you have a token of temp-mail.io, you can remove temp-mail.io.

About

Using the temporary mail system provided by several sites in Python

License:MIT License


Languages

Language:Python 100.0%