🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

sendtomail

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sendtomail

Free SMTP email sender using virtual email address.

0.5.0
PyPI
Maintainers
1

Usage

Send free message to email, without your email! It is strictly forbidden to send spam or threats or 18+

# debug settings for more information
>>> from sendtomail import *
>>> server.debug("on") #enable
>>> server.debug("off") #disable

# Send free message to email (plain)
>>> from sendtomail import *
>>> server.send("gmail.com", "he1zen@null.net", "plain", "Test subject", "hello, its a test message!")
'200'
>>>

# Send free message to email (html)
>>> from sendtomail import *
>>> server.send("gmail.com", "he1zen@null.net", "html", "Test subject", 
"""<!DOCTYPE html>
<html>
<body>
      <h1> hello, its a test message! </h1>
</body>
</html>""")
'200'
>>>

Text message

Html message

# Servers list
>>> from sendtomail import *
>>> regions = server.regions()
>>> print(regions)
SMTP servers: gmail.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'
>>>

# Send custom data
>>> from sendtomail import *
>>> custom.data("^38^92%72^92%65^92%10")
'\nlocation  : Ukraine\nServer IP : 185.16.36.136\ncreator   : He1Zen, mishakorzik\nmirror    : Europe, amazon\nping      : 50-70ms\n'
>>> 

Server Information


# get server info with print
>>> from sendtomail import *
>>> server.info(False)
location: Ukraine
creator: He1Zen, mishakorzik
mirror: Europe, amazon
ping: 50-70ms
>>> 

# get server info with return
>>> from sendtomail import *
>>> server.info(True)
'\nlocation  : Ukraine\nServer IP : 185.16.36.136\ncreator   : He1Zen, mishakorzik\nmirror    : Europe, amazon\nping      : 50-70ms\n'
>>> 

Temp Mail Creation

# Create temp mail
>>> from sendtomail import tempmail
>>> tempmail.create()
'qwm5cn282k55sp@dcctb.com'
>>> 

# Read last message from temp mail
>>> from sendtomail import tempmail
>>> tempmail.read("qwm5cn282k55sp", "dcctb.com")
mailbox is empty
>>> 

For Windows

download file sendtomail.exe - v1 download file sendtomail.exe - v2 download file sendtomail.exe - v3 download file sendtomail.exe - v4

and start file, i recommend select gmail.com server.

Tool information

## Status codes
200 - Succesfully send
400 - Failed to send
401 - bad request or wrong command
403 - Email protected or secured
404 - Email not found, try another email
429 - Server error, choose another server
500 - Internal Server Error, try again later
503 - Service Unavailable, try again later
504 - Try another server

## Other codes
valid   - mailbox exists
invalid - mailbox does not exist
timeout - mailbox is unknown

## Services
gmail.com   - fast - recommend 
yandex.com  - slow - not recommend
mail.ru     - slow - not recommend

there are logs on the server for security purposes

Keywords

smtp

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts