Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/titaniumhocker/sendsmtp
CLI SMTP client in pure Python
https://github.com/titaniumhocker/sendsmtp
cli client python smtp smtp-client
Last synced: 11 days ago
JSON representation
CLI SMTP client in pure Python
- Host: GitHub
- URL: https://github.com/titaniumhocker/sendsmtp
- Owner: TitaniumHocker
- License: mit
- Created: 2022-08-10T00:57:16.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-10T01:18:59.000Z (about 2 years ago)
- Last Synced: 2024-10-12T10:14:12.029Z (27 days ago)
- Topics: cli, client, python, smtp, smtp-client
- Language: Python
- Homepage: https://pypi.org/project/sendsmtp/
- Size: 4.88 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
########
sendsmtp
########CLI SMTP client in pure Python.
Installation:
.. code:: console
python3 -m pip install --user --upgrade sendsmtp
Usage:
.. code:: console
$ sendsmtp --help
usage: sendsmtp [-h] [-m MESSAGE] [-i INPUT] [-p PORT] [-u USERNAME] [--password PASSWORD] [-t] [-c CC] [-b BCC] [-s SUBJECT] HOST FROM TOCLI 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.