Skip to main content

Fake Email & Generate Email

Project description

SalamFake

A simple library project, a library function to make a temporary email, receive all messages

Installation :

pip install SalamFake

Example

# by Salam Hunter
from SalamFake import *

# Show email
mail = Email()
print(mail)

# fetch the message
while True:
	if mail.new_message():
		print(mail.get_message())

The result

[
  {
    "read": false,
    "expanded": false,
    "forwarded": false,
    "repliedTo": false,
    "sentDate": "2021-05-10T07:32:41.000+0000",
    "sentDateFormatted": "May 10, 2021, 7:32:41 AM",
    "sender": "author@example.com",
    "from": "[Ljavax.mail.internet.InternetAddress;@37e8c463",
    "subject": "Test message",
    "bodyPlainText": "",
    "bodyHtmlContent": "mas",
    "bodyPreview": "Test description\r\n",
    "id": "2118940165622869807"
  }
]

salammzere3' Github Stats

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SalamFake-1.0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

SalamFake-1.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page