Skip to main content

Free SMTP email sender using virtual email address.

Project description

Usage

Send free message to email, without your email!

# Send free message to email, debug OFF
>>> from sendtomail import *
>>> server.send("ua", "he1zen@null.net", "hello, its a test message!")
b'200'
>>>

# Send free message to email, debug ON
>>> from sendtomail import *
>>> server.debug("on")
>>> server.send("ua", "he1zen@null.net", "hello, its a test message!")
[3%] Debug mode ON
[7%] Region ua
[11%] Starting to get URL
[20%] Getting json from URL
[40%] URL json data decode
[60%] Server IP 18.189.106.45
[80%] Server connected!
[100%] Data send to server
b'200'
>>>

# Regions list
>>> from sendtomail import *
>>> regions = server.regions()
>>> print(regions)
SMTP regions: de, uk, us, it, es, tw, cn, ar, au, fr, ca, in, hk, th, sg, vn, ua, ru, tr, zn
>>>
## Status oodes
200 - Succesfully send
400 - bad options
409 - Alternative sender error
429 - Try in 1 day or choose another region
500 - Internal Server Error
503 - Service Unavailable
504 - Try another region

## Recommended regions
ua - ukraine
ru - russia
tr - turkey
de - gernamy
us - united states
uk - united kingdom
it - italia
fr - france

## Region Country
us - united states
uk - united kingdom
ar - argentina
au - australia
vn - vietnam
ca - canada
in - india
fr - france
th - tailand
sg - singapore
de - germany
es - spain
cn - chine
tr - turkey
tw - taiwan
it - italy
ua - ukraine
ru - russia
zn - new zeland

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

sendtomail-0.1.3.tar.gz (3.0 kB view hashes)

Uploaded Source

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