Skip to main content

color log terminal and file

Project description

颜色日志

使用说明

from smtp_send import smtp_send

smtp_send('smtp服务器:端口', ['测试员', 'wujh@ebfcn.com.cn'], '密码', ['收件人1','收件人2'], ['抄送人1','抄送人2'], '标题', '内容', ['附件1','附件2'])

linux系统使用 tail -F -s5 logs/log 实时监控日志变化

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_smtp-1.0.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page