In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use linux to achieve a web mail alarm function, many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
1. Set and obtain the authorized password of smtp.qq.com
1. Click to enter QQ Mail
two。 Click to enter the mailbox to set up
3. Click the account number
4. Click to open SMTP
5. Send verification code
6. Remember or change the password
Second, install the mail client tool
[root@server-30 ~] # yum install mailx [root @ server-30 ~] # vim / etc/mail.rc # # at the end of the file, add the following lines of set from= sender mailbox @ 163.comset smtp=smtp.163.comset smtp-auth-user= mailbox username set smtp-auth-password= self-set authorization password set smtp-auth=login
Third, test the function of sending mail
1. To send an email to yourself, first make sure that you can connect to the Internet [root@uplooking / test] # ping smtp..com # # whether you can ping. If different, please check the network
two。 Test [root@uplooking ~] # echo "hello" | mail-s "test" user name @ qq.com
3.
Verify the test effect
After reading the above, do you have any further understanding of how to use linux to achieve a web mail alarm function? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.