Linux_ e-Mail

Source: Internet
Author: User
Tags auth

How do I send mail via Linux?

Mailbox configuration file:/etc/mail.rc

1. mailbox File Configuration

Vim/etc/mail.rc    # Add data set [email protected] smtp=smtp.163.com smtp-auth-user=beimen_5321 smtp-auth-password= Beimen123 smtp-auth=login# from the address of the sending message # SMTP occurs external SMTP server address # Smtp-auth-user external SMTP Server authenticated user name # Smtp-auth-passwrod external SMTP Server authenticated user password # Smtp-auth authentication method for external SMTP server authentication

  2. Testing

Seq-  W >> test.txt    # Create test file Mail-s "test" [email protected] < test.txt#-S message header # [email protected] Address # < Enter message content

  3. Login to the mailbox to view

Linux_ e-Mail

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.