sendEmail命令行邮件客户端

tech2026-03-09  3

简介

sendEmail是一个轻量级的SMTP命令行客户端。它被设计用户bash脚本,批处理文件,perl程序和web网站。sendEmail使用Perl语言开发 参考地址:http://caspian.dotconf.net/menu/Software/SendEmail/

安装使用

1. 下载sendEmail wget http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz 2. 解压 tar -zxvf sendEmail-v1.56.tar.gz 3. 复制执行文件到/usr/local/bin目录 cp cp sendEmail-v1.56/sendEmail /usr/local/bin/ 4. 发送邮件 sendEmail -f source@163.com -t target@163.com -s smtp.163.com -u '邮件主题' -o message-content-type=html -o message-charset=utf8 -xu source@163.com -xp sourcepassword -m '邮件内容' -o tls=no 参数说明; -f : 发件人邮箱 -t : 收件人邮箱 -s : stmp服务器地址 -u : 邮件主题 -o : 可以设置一些邮件属性 message-content-type=html 邮件内容格式 message-charset=utf8 邮件内容编码 tls=no 关闭tls -xu : 发件人smtp用户名 -xp : 发件人smtp密码 5. 查看帮助 sendEmail --help
最新回复(0)