this is dvsnier email.
Project description
Tutorial
一. Introduce
this is a simple email execution program, only a single email address can be mailed.
二. Configuration
We recommend using the user profile method to define:
~/.dvsrc
the .dvsrc configuration items are as follows:
##################### SERVER REGION ########################
# the setup server
mail_host = smtp.xx.com
# the Server SSL default port
mail_port = 465
##################### SENDER REGION ########################
# the user name
mail_user = xxx
# the secret key with password or token
mail_passwd = passwd_or_token
# the sender
mail_sender = xxx@xx.com
# the sender alias
sender_alias = xxx
################### RECIPIENT REGION #######################
# the recipient
mail_receiver = yyy@yy.com
# the recipient alias
receiver_alias = yyy
of course, you can also specify the configuration file, for specific usage, refer to the following section.
三. Usage
usage: dvs-email [-h] [-V] [-v] [-cfg config-file] [-mr mail-receiver] [-ra receiver-alias] [-f] [-s subject]
[-msg message [message ...] | -mf message-file]
this is a simple email execution program, only a single email address can be mailed.
optional arguments:
-h, --help show this help message and exit
-V, --version the show version and exit.
-v, --verbose if true, prepare to output detailed journal records, otherwise no.
-cfg config-file, --config-file config-file
the current mail configuration file.
-mr mail-receiver, --mail-receiver mail-receiver
the current mail recipient.
-ra receiver-alias, --receiver-alias receiver-alias
the current mail recipient alias.
-f, --mode-flag if flags == true, email program is ssl mode, otherwise no, and the default value is True.
-s subject, --subject subject
the current email subject and the default value is None when It is recommended that users fill in the email
subject by themselves.
-msg message [message ...], --message message [message ...]
the current email message and the default value is None.
-mf message-file, --message-file message-file
the current email message file.
the copyright belongs to DovSnier that reserve the right of final interpretation.
四. History
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file com.dvsnier.email-0.0.2a2.dev1.tar.gz.
File metadata
- Download URL: com.dvsnier.email-0.0.2a2.dev1.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6c6040bd2be050e6eeaa3d0e99679a4562734e739670363074a9789307b6f1a
|
|
| MD5 |
5abd3a5be6ebaa65d858e8994380322c
|
|
| BLAKE2b-256 |
48de930ab1ab3e29815efa4149f9e6282e687e63e780813f0ecfd0b5bc43ab45
|
File details
Details for the file com.dvsnier.email-0.0.2a2.dev1-py2.py3-none-any.whl.
File metadata
- Download URL: com.dvsnier.email-0.0.2a2.dev1-py2.py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b660bdff7d8976ab631156fd81f4e76cb12d9576ba97b4f256a8f31c1103e8ce
|
|
| MD5 |
5f80898ce7221e3c357a837abd1436ba
|
|
| BLAKE2b-256 |
8aec090fd1d5c37d75b659a3786af39fb2427b2e21e3ca422187454db4ba1762
|