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.
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
Close
Hashes for com.dvsnier.email-0.0.2a1.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ca70d76f1c813166e4f729b8f846217572b9cc4bbe4d1c9fe27cd7bafca411 |
|
MD5 | aba6a49ed483bdf53feb7a2edb2d02c7 |
|
BLAKE2b-256 | 3b8b429a8d1247367653d5e63e6cb2008d8c08873ea6d04c104c2a9c04d01f0d |
Close
Hashes for com.dvsnier.email-0.0.2a1.dev3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3250458009bfb16b5f05d306c949775d7745c65e45db955a96ca4195b880e6ff |
|
MD5 | 5274ed84c6663a26cfa417c65d27cba3 |
|
BLAKE2b-256 | d15c24417e4aa51ba21159c496333725abb86458cdc3fb9f6c7a7d5ee2a8b62a |