Skip to main content

CLI SMTP client in pure Python

Project description

CLI SMTP client in pure Python.

Installation:

python3 -m pip install --user --upgrade sendsmtp

Usage:

$ sendsmtp --help
 usage: sendsmtp [-h] [-m MESSAGE] [-i INPUT] [-p PORT] [-u USERNAME] [--password PASSWORD] [-t] [-c CC] [-b BCC] [-s SUBJECT] HOST FROM TO

 CLI SMTP client in pure Python

 positional arguments:
   HOST                  Host to connect via SMTP.
   FROM                  Sender email.
   TO                    Recipient email(s), comma separated.

 options:
   -h, --help            show this help message and exit
   -m MESSAGE, --message MESSAGE
                         Message to send.
   -i INPUT, --input INPUT
                         Path to file to read message contents.
   -p PORT, --port PORT  Port to connect via SMTP.
   -u USERNAME, --username USERNAME
                         Username for login.
   --password PASSWORD   Password for login.
   -t, --tls             Flag to use TLS.
   -c CC, --cc CC        Recipient address(es) to send copy to, comma separated.
   -b BCC, --bcc BCC     Recipient address(es) to send blind copy to, comma separated.
   -s SUBJECT, --subject SUBJECT
                         Message subject.

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

sendsmtp-1.0.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

sendsmtp-1.0.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

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