[root@test2 ~]# yum -y install sendmail
[root@test2 ~]# sendmail -t <<EOF
> FROM: Mail zhangdonghong<zhangdonghongemail@163.com>
> To: zhangdh@taoying.com
> Cc: 1037447289@qq.com
> Subject: testing
> hello world!
> EOF
等待数十秒...
![新建位图图像.bmp 180858740.jpg](https://i-blog.csdnimg.cn/blog_migrate/b709241c903b0e7dc2b415ab1a52cf77.jpeg)
气愤啊
:就QQ邮箱收到了...
补充:原来是被企业邮箱当成垃圾邮件被拒了,汗...
转载于:https://blog.51cto.com/linuxblind/1301765