mail 发送和接收
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-03
mail的收发
[root@mycentos ~]# mail -s "1st mail" wwy=======发送第一封邮件 hell wwy w^H ciscobbsnas ccnp . Cc: [root@mycentos ~]# touch test.mail [root@mycentos ~]# vi test.mail jdlsjdlfjlsjdlfjs lsjdfljsldjf sljdfljsd lsjdfljsl "test.mail" 4L, 51C written [root@mycentos ~]# ls 1985calendar ciscobbs install.log.syslog test11.12 1998calendar cisco.out ls.out test.mail 1999calendar cisco.txt myfile tmp 1.txt cut.csv rootcisco who.out 2009 cut.tab sort.out wwycisco account.err dstamp test11 wwycron anaconda-ks.cfg grep.err test1.11 cisco install.log test11.11 [root@mycentos ~]# mail -s "2nd mail" wwy < test.mail==发送第二封邮件 阅读邮件============================================================== [wwy@mycentos ~]$ cat /var/spool/mail/wwy============邮件目录 From root@localhost.localdomain Wed May 20 11:49:51 2009 Return-Path: <root@localhost.localdomain> Received: from localhost.localdomain (mycentos [127.0.0.1]) by localhost.localdomain (8.13.8/8.13.8) with ESMTP id n4K3nooP003661 for <wwy@localhost.localdomain>; Wed, 20 May 2009 11:49:51 0800 Received: (from root@localhost) by localhost.localdomain (8.13.8/8.13.8/Submit) id n4K3no4g003660 for wwy; Wed, 20 May 2009 11:49:50 0800 Date: Wed, 20 May 2009 11:49:50 0800 From: root <root@localhost.localdomain> Message-Id: <200905200349.n4K3no4g003660@localhost.localdomain> To: wwy@localhost.localdomain Subject: 1st mail hell wwy w ===============第一封邮件 ciscobbsnas ccnp From root@localhost.localdomain Wed May 20 11:50:41 2009 Return-Path: <root@localhost.localdomain> Received: from localhost.localdomain (mycentos [127.0.0.1]) by localhost.localdomain (8.13.8/8.13.8) with ESMTP id n4K3oead003670 for <wwy@localhost.localdomain>; Wed, 20 May 2009 11:50:41 0800 Received: (from root@localhost) by localhost.localdomain (8.13.8/8.13.8/Submit) id n4K3oe3E003669 for wwy; Wed, 20 May 2009 11:50:40 0800 Date: Wed, 20 May 2009 11:50:40 0800 From: root <root@localhost.localdomain> Message-Id: <200905200350.n4K3oe3E003669@localhost.localdomain> To: wwy@localhost.localdomain Subject: 2nd mail=========================第二封邮件 jdlsjdlfjlsjdlfjs lsjdfljsldjf sljdfljsd lsjdfljsl [wwy@mycentos ~]$ mail =======================查看收到的邮件 Mail version 8.1 6/6/93. Type ? for help. "/var/spool/mail/wwy": 2 messages 2 new >N 1 root@localhost.local Wed May 20 11:49 17/659 "1st ma" N 2 root@localhost.local Wed May 20 11:50 19/681 "2nd ma" & 2=============================选择查看的邮件编号 Message 2: From root@localhost.localdomain Wed May 20 11:50:41 2009 Date: Wed, 20 May 2009 11:50:40 0800 From: root <root@localhost.localdomain> To: wwy@localhost.localdomain Subject: 2nd mail jdlsjdlfjlsjdlfjs lsjdfljsldjf sljdfljsd lsjdfljsl & q==========================阅 |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: ARP攻击@ubuntu保持网关MAC地址。下一篇: 针对JBOSS访问缓慢做的一些优化
关于mail 发送和接收的所有评论