In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Mail is an email manager that can be used to send or receive emails.
The scope of application of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1. Grammar
Mail [options] addr
2. Parameter list
Option
Description
-a file
Send the given file out
-b
Specify the Blind CC address of email
-c
Specify CC address
-H
Show all headers and launch
-I
Ignore the terminal signal of the console
-r
Set the sender address
S
Specify the subject of the message
-u
Read the mailing list for the specified user
-v
Show details
-V
Display version information and exit
3. Examples
1) read the user's david email
[root@localhost ~] # mail-u david / / specify the user, first get the mailing list
Heirloom Mail version 12.4 7-29-08. Type? For help.
"/ var/mail/david": 10 messages 3 new
1 root Thu Aug 16 17:07 21 amp 692 "test"
2 root Thu Aug 16 17:08 20 root Thu Aug 631 "test"
3 root Thu Aug 16 17:10 20 amp 602 "test"
4 root Fri Aug 17 08:15 20 amp 570 "test3"
5 root Fri Aug 17 09:46 25 root Fri Aug 668 "test04"
6 root Tue Aug 21 09:14 20 amp 609 "test04"
7 root Tue Aug 21 09:15 20 root Tue Aug 666 "test05"
> N 8 wejie Fri Oct 5 21:32 13 Compact 403
N 9 wejie Fri Oct 5 21:33 13/400
N 10 wejie Fri Oct 5 21:37 13/406
& 10 / / enter the email number here to get the specific email content.
Message 10:
From weijie@david.cn Fri Oct 5 21:37:11 2018
Return-Path:
X-Original-To: david
Delivered-To: david@david.cn
Date: Fri, 5 Oct 2018 21:37:07 + 0800 (CST)
From: weijie@david.cn (wejie)
To: undisclosed-recipients:
Status: RO
Hehe
2) send email
[root@localhost ~] # mail-r david weijie / / send email to weijie, sender david
Subject: test
one hundred and twenty three
.
EOT
You have new mail in / var/spool/mail/root
[root@localhost ~] # tail / var/spool/mail/weijie / / check weijie mailbox and receive david email
To: weijie@david.cn
Subject: test
User-Agent: Heirloom mailx 12.4 7-29-08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id:
one hundred and twenty three
A Linux learning platform has been made, and a prototype has come out at present, which you can refer to and use.
Link: https://pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ password: n7bk
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.