This command line tool for SMTP client.
- Python 2.7 or later.
Case: Github
$ git clone https://github.com/kmn/smtpcli $ cd smtpcli $ sudo python setup.py install $ cp sample/smtpcli.conf.sample $HOME/.smtpcli.conf and edit $HOME/.smtpcli.conf
Case: Pypi
- ::
$ sudo pip install smtpcli $ cp sample/smtpcli.conf.sample $HOME/.smtpcli.conf
and edit $HOME/.smtpcli.conf
An alternative method of command options that use the config file. Copy examples/.smtpcli.conf.sample to $HOME/.smtpcli.conf. password key to set password in plain text.
# [smtpcli] smtp-server = smtp.exmple.org port = 25 encoding = ISO-2022-JP mailaddress = [email protected] password = user001pw
- ::
$ echo "Hello, world!" > msg.txt $ smtpcli --to [email protected] --subject "from 001 to 007"
--file msg.txt
To: [email protected] Subject: from 001 to 007 Body: Hello, world!
Send this email? [y/N]
- fix minor bugs
- fix minor bugs
- fix minor bugs
- fix minor bugs
- modify setup.py
- first release