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("uk", "he1zen@null.net", "hello, its a test message!")
b'200'
>>>
# Send free message to email, debug ON
>>> from sendtomail import *
>>> server.send("uk", "he1zen@null.net", "hello, its a test message!")
[3%] Debug mode ON
[7%] Region uk
[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, kr, ca, in, hk, th, sg, vn
>>>
## Status codes
200 - Succesfully send
400 - bad options
429 - Too Many emails sended
500 - Internal Server Error
503 - Service Unavailable
## Region Country
us - united states
uk - united kingdom
ar - argentina
au - australia
vn - vietnam
kr - korea
ca - canada
in - india
fr - france
th - tailand
sg - singapore
de - germany
es - spain
cn - chine
tw - taiwan
it - italy
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(2.8 kB
view hashes)