Skip to content

A tool for sending mail based on the command line of the pytho3 implementation

Notifications You must be signed in to change notification settings

sharkgit1976/clisendmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

clisendmail

A tool for sending mail based on the command line of the pytho3 implementation

依赖包

plumbum
yagmail

使用

配置

修改 mails.ini 文件

[DEFAULT]
user = yourusername
password = yourpassword
smtp_server = smtp.126.com
smtp_port = 25
to_emails=1@1.com,2@2.com

发送邮件

python3 sendmail.py -f ./mails.ini send -t 1@1.com -j 邮件标题 -m 邮件内容 

帮助

python3 sendmail.py -h

About

A tool for sending mail based on the command line of the pytho3 implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages