Free SMTP email sender using virtual email address.
Project description
Usage
Send free message to email, without your email! It is strictly forbidden to send spam or threats or 18+
# Send free message to email, debug OFF
>>> from sendtomail import *
>>> server.send("gmail.com", "he1zen@null.net", "hello, its a test message!")
'200'
>>>
# Send free message to email, debug ON
>>> from sendtomail import *
>>> server.debug("on")
>>> server.send("gmail.com", "he1zen@null.net", "hello, its a test message!")
[3%] Debug mode ON
[7%] Server gmail.com
[11%] Starting to get URL
[20%] Getting json from URL
[40%] URL json data decode
[60%] Server IP he1zen-server.ddns.net:17632
[80%] Server connected!
[98%] Data send to server
'200'
>>>
# Servers list
>>> from sendtomail import *
>>> regions = server.regions()
>>> print(regions)
SMTP servers: gmail.com, outlook.com, yandex.com, mail.ru
>>>
# Get Free SMTP, POP3, IMAP email
>>> from sendtomail import *
>>> server.mail()
{'google-mail': 'qcp9ex.iqu0@gmail.com', 'google-pass': 'dmxsdxqgvlcypitf'}
>>>
# Free email checker
>>> from sendtomail import *
>>> server.validate("he1zen@null.net")
'valid'
>>>
## Status codes
200 - Succesfully send
400 - Failed to send, choose another server
403 - Email protected
404 - Email not found
429 - Server error, choose another server
500 - Internal Server Error
503 - Service Unavailable
504 - Try another server
## Other codes
valid - mailbox exists
invalid - mailbox does not exist
timeout - mailbox is unknown
## Services
gmail.com - 50-70ms
outlook.com - 60-80ms
yandex.com - 80-95ms
mail.ru - 70-90ms
there are logs on the server for security purposes
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.2.6.tar.gz
(3.6 kB
view hashes)