Skip to main content

SMTP CLI tool

Project description

======================================
`smtpcli` is SMTP Client tool.
======================================

This command line tool for SMTP client.

Requirements
------------

* Python 2.7 or later.


Setup
-----

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

Usage
-----

Setting the configuration file ($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 = user001@exmple.org
password = user001pw

Sending mail
~~~~~~~~~~~~~~~~~~~~

::
$ echo "Hello, world!" > msg.txt
$ smtpcli --to user007@example.org --subject "from 001 to 007" \
--file msg.txt

To: user007@example.org
Subject: from 001 to 007
Body: Hello, world!

Send this email? [y/N]


History
-------

0.4 (2012-09-16)
~~~~~~~~~~~~~~~~
* fix minor bugs

0.3 (2012-09-16)
~~~~~~~~~~~~~~~~
* fix minor bugs

0.2 (2012-09-16)
~~~~~~~~~~~~~~~~
* fix minor bugs

0.1 (2012-09-16)
~~~~~~~~~~~~~~~~
* modify setup.py

0.0 (2012-06)
~~~~~~~~~~~~~~~~
* first release


See also
--------

* `RFC 821 <http://tools.ietf.org/html/rfc821.html>`_
* `RFC 1896 <http://tools.ietf.org/html/rfc1869.html>`_
ToDo
====

Features
--------

* Sending email.

Improvement
-----------

* Using CC or BCC.
* Send to multiple destination mailaddress.
* Add "--no-confirm " option
* Add siguniture
* gpg

Known bugs
---------

* garbling when viewing via iPhone.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smtpcli-0.5.tar.gz (16.4 kB view details)

Uploaded Source

File details

Details for the file smtpcli-0.5.tar.gz.

File metadata

  • Download URL: smtpcli-0.5.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for smtpcli-0.5.tar.gz
Algorithm Hash digest
SHA256 746619aaab69116a08cf42126eb2e5c1f1c22fa872d0070680fda4b83fc501c0
MD5 fca9d02fd3e2e6e3cb1a2c0cae522191
BLAKE2b-256 400ba11ac6d2ab4fa0c20233e709e97d5e4a0c87542b265a5004888511da3cd0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page