Skip to content

boris9000/smtp_send

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Simple mail send

Simple smtp sending tool (smtp_send) with file and directory sending.

Installing

Execute:

cd /tmp
git clone https://github.com/0dayexploit/smtp_send

You can use virtualenv and install project into python virtual environment:

virtualenv --system-site-packages --python=python3 venv
source venv/bin/activate

For installing execute:

python setup.py install

Usage

smtp_send uses smtp.mail.ru server by default and port 587. Also smtp_send sends message to yourself by default.

smtp_send login@mail.ru password

To set recipient use -R option:

smtp_send login@mail.ru password -R user@yandex.ru

If you want to attach file or directory (without subdirectories) set -a parameter:

smtp_send login@mail.ru password -a directory

To change server/port use -s/-p parameters:

smtp_send login@gmail.com password -s smtp.gmail.com

If you want to set Subject and Message fields use -S and -M parameters:

smtp_send login@mail.ru password -S Test -M "Hello world"

About

Python mail sending tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%