您当前的位置: 首页 >  linux

蓝不蓝编程

暂无认证

  • 2浏览

    0关注

    706博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Linux上使用mail命令发送带附件邮件

蓝不蓝编程 发布时间:2012-10-12 19:52:44 ,浏览量:2

1.使用mail发送单个附件

uuencode file_path file | mail -s "file" 123@***.com

2.使用mail发送多个附件 uuencode /root/zyx.cap zyx.cap >attach1.txt uuencode /root/sendmail.pl sendmail.pl >attach2.txt cat msg.txt attach1.txt attach2.txt>combined.txt mail -s "cesho" 123@***l.com
关注
打赏
1639405877
查看更多评论
立即登录/注册

微信扫码登录

0.0372s