$ ./sendmail.py --help
usage: sendmail.py [-h] --subject SUBJECT --from FROM --to TO --configfile
CONFIGFILE [--configsection CONFIGSECTION]
MAILBODY [ATTACHMENT [ATTACHMENT ...]]
Send an email. With Python.
positional arguments:
MAILBODY A text file containing the mail body itself
ATTACHMENT Optional files to attach
optional arguments:
-h, --help show this help message and exit
--subject SUBJECT
--from FROM
--to TO
--configfile CONFIGFILE
The .ini file with the mailserver credentials
--configsection CONFIGSECTION
The mail server section to choose in the configfile.
-
Notifications
You must be signed in to change notification settings - Fork 0
pklaus/sendmail_python
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Send E-Mails with Python
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published