Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the mailx command of linux to send and receive mail

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail about using linux's mailx command to send and receive emails. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

You can use the mailx command to send and receive messages with the name of the recipient, which is easier to view than mail.

Syntax format: mailx [parameters] [user]

Common parameters:

Reference example

Send the message to the user of the local system zhangsan:

[root@linuxcool ~] # mailx zhangsan

Send an email to zhangsan@qq.com:

[root@linuxcool ~] # mailx zhangsan@qq.com

Send the file as the content of an email:

[root@linuxcool] # mailx-s "send with content that is a file" root@localhost < ftp2.txt so much about sending and receiving emails using linux's mailx command. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report