Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mishakorzik/sendtomail
Free SMTP email sender, using virtual email.
https://github.com/mishakorzik/sendtomail
api emacs email free-mail gmail gmail-api pip pypi python python3 send smtp smtp-server smtplib temp-mail termux-hacking termux-tool
Last synced: 4 days ago
JSON representation
Free SMTP email sender, using virtual email.
- Host: GitHub
- URL: https://github.com/mishakorzik/sendtomail
- Owner: mishakorzik
- License: apache-2.0
- Created: 2022-09-11T08:32:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T13:06:17.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T06:38:13.405Z (about 1 month ago)
- Topics: api, emacs, email, free-mail, gmail, gmail-api, pip, pypi, python, python3, send, smtp, smtp-server, smtplib, temp-mail, termux-hacking, termux-tool
- Homepage:
- Size: 16.1 MB
- Stars: 23
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Usage
#### Send free message to email, without your email! It is strictly forbidden to send spam or threats or 18+
```python
# Enable debug for more information
>>> from sendtomail import *
>>> server.debug("on")# Disable debug for more information
>>> from sendtomail import *
>>> server.debug("off")# Send free message to email (plain)
>>> from sendtomail import server
>>> server.send("gmail.com", "[email protected]", "plain", "Test subject", "hello, its a test message!")
'200'
>>># Send free message to email (html)
>>> from sendtomail import server
>>> server.send("gmail.com", "[email protected]", "html", "Test subject",
"""
hello, its a test message!
""")
'200'
>>>```
#### Text message
#### Html message
---
```python
# Servers list
>>> from sendtomail import server
>>> regions = server.regions()
>>> print(regions)
SMTP servers: gmail.com, yandex.com, mail.ru
>>># Get Free SMTP, POP3, IMAP email
>>> from sendtomail import server
>>> server.mail()
{'google-mail': '[email protected]', 'google-pass': 'dmxsdxqgvlcypitf'}
>>># Free email checker
>>> from sendtomail import server
>>> server.validate("[email protected]")
'valid'
>>># Send custom data
>>> from sendtomail import server
>>> 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
>>> server.info(False)
location: Ukraine
creator: He1Zen, mishakorzik
mirror: Europe, amazon
ping: 50-70ms
>>># get server info with return
>>> from sendtomail import server
>>> server.info(True)
'\nlocation : Ukraine\nServer IP : 185.16.36.136\ncreator : He1Zen, mishakorzik\nmirror : Europe, amazon\nping : 50-70ms\n'
>>>```
### Temp Mail Creation
```python
# Create temp mail
>>> from sendtomail import tempmail
>>> tempmail.create()
'[email protected]'
>>># 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 - v4and 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**