How to Send Mail in Linux

Method 1 of 3:

Using the Thunderbird Mail Client

  1. How to Send Mail in Linux Picture 1
    Install Thunderbird. Most desktop versions of Linux, including Debian and Ubuntu, come with Thunderbird as the default mail client. It's still a good idea to make sure you have the latest package. Follow these steps to get the latest version:[1]
    1. Press Ctrl+Alt+T to open a terminal window.
    2. Type sudo apt-get update and press Enter.
    3. Enter your root password when prompted.
    4. Type sudo apt-get install thunderbird and press Enter.
    5. Follow any on-screen instructions.
  2. How to Send Mail in Linux Picture 2
    Type thunderbird at the prompt and press Enter. This opens Thunderbird to a welcome screen.
    1. If you see an envelope icon on your desktop, you can usually click that to open Thunderbird as well.
  3. How to Send Mail in Linux Picture 3
    Enter your email information and click Continue. You'll have to provide your name, email address, and email password. Thunderbird will then check its database to see if it can automatically locate the correct server settings for your email provider.
  4. How to Send Mail in Linux Picture 4
    Review the suggested email settings and enter your own if necessary. If you're using a popular email service like Gmail, Thunderbird will usually display the correct settings. If not, click the Manual config button and enter the settings manually.
  5. How to Send Mail in Linux Picture 5
    Click Done. It's at the bottom-right corner of the window. This saves your mail settings.
  6. How to Send Mail in Linux Picture 6
    Follow the on-screen instructions to complete the setup. Depending on your mail provider, you may be asked to sign in.[2]
  7. How to Send Mail in Linux Picture 7
    Click the Write button to compose a new message. This opens a blank email message.
  8. How to Send Mail in Linux Picture 8
    Write your message and click Send. Your message will be sent to the recipient.
Method 2 of 3:

Using Web-Based Email

  1. How to Send Mail in Linux Picture 9
    Open your web browser. As long as you have internet access and a web browser, you can use any number of free web-based email services to send and receive email on Linux. Depending on your distribution, you should have a web browser already installed. If you don't see Firefox, Chrome, Konqueror, GNOME Web, or another browser on the system, you can follow these steps to install Chrome now:[3]
    1. Press Ctrl+Alt+T to open a terminal window.
    2. Type wget https: / /dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb and press Enter.
    3. Type sudo dpkg -i google-chrome-stable_current_amd64.deb and press Enter.
    4. Enter your root password and press Enter.
    5. Once Chrome is installed, type google-chrome at the prompt and press Enter to launch it.
  2. How to Send Mail in Linux Picture 10
    Visit the website of any web-based email service. Some popular free options are Gmail, Outlook.com, and Yahoo Mail.
  3. How to Send Mail in Linux Picture 11
    Sign in or create an account. You can create a brand new account or use an existing one, it's up to you. Once you're logged in or signed up, you'll be brought to your inbox.
  4. How to Send Mail in Linux Picture 12
    Click the Compose or New Message button. The name and location of this button varies, but it'll usually have an icon of a pencil, sheet of paper, or a plus (+) symbol.
  5. How to Send Mail in Linux Picture 13
    Enter the recipient's email address into the "To" field. This is the email address of the person you're sending a message to.
  6. How to Send Mail in Linux Picture 14
    Type a message subject. The "Subject" field is optional but recommended. Messages with blank subjects are sometimes routed to peoples' spam folders.
  7. How to Send Mail in Linux Picture 15
    Type the message. The message should be typed into the largest part of the new message window.
  8. How to Send Mail in Linux Picture 16
    Click the Send button. The name and location of this button varies, but you'll usually see a paper airplane icon on or near it. This sends the message to the recipient.
Method 3 of 3:

Using Sendmail at the Command Line

  1. How to Send Mail in Linux Picture 17
    Create a new blank text file in your favorite text editor. For example, if you like to use vi, type vi mail.txt at the command prompt and press Enter. You can also use any graphical text editor you wish.
  2. How to Send Mail in Linux Picture 18
    Type the email header. The header contains the recipient's email address, the message subject, and the sender's email address in a particular format. Enter the following information into the text file, each on its own line, but replace the italicized text with your own:
    1. To: recipient@recipient.com
    2. Subject: This is the subject
    3. From: youremailaddress@yourdomain.com
  3. How to Send Mail in Linux Picture 19
    Type the content of the message on a new line. Once you're finished typing, move to the next step.
  4. How to Send Mail in Linux Picture 20
    Save the text file. The steps to do this vary by text editor. If you're using vi, press Esc and then type :wq!.
    1. If you haven't yet given the file a name, call it mail.txt.
  5. How to Send Mail in Linux Picture 21
    Press Ctrl+Alt+T to open a terminal window. If you're logged in to the Linux system remotely you can skip this step.
  6. How to Send Mail in Linux Picture 22
    Type sendmail -vt < mail.txt and press Enter. This sends the contents of your message to the recipient.
5 ★ | 1 Vote

May be interested

  • How to send bulk emails on Apple MailHow to send bulk emails on Apple Mail
    one of the fastest ways for you to email a group on your iphone is to create a contact with an email group that you email regularly, such as a business exchange.
  • Outlook cannot send mail after upgrading Windows 10, this is a fixOutlook cannot send mail after upgrading Windows 10, this is a fix
    after upgrading to windows 10 operating system, many users when using outlook to send mail often encounter errors that cannot be sent.
  • How to Send Large Video by e-mailHow to Send Large Video by e-mail
    many email service providers limit the size of attachments you can send by mail. this is limited in case you want to send large video files. fortunately, some email service providers have changed their services, allowing users to attach and send files larger than the standard size limit. to send large video files, you can use the google drive app in gmail, onedrive (formerly skydrive) in outlook, and yahoo's dropbox app.
  • Methods to protect E-mail from being looked atMethods to protect E-mail from being looked at
    e-mail is an unreliable communication tool, but it's not entirely private. when e-mail is transferred between sender and receiver via the internet, it can be 'snooped' and 'compared'.
  • Yahoo added a feature to send mail with many beautiful decorationsYahoo added a feature to send mail with many beautiful decorations
    yahoo has just added an interesting feature for mail users on the web browser, which is to provide built-in e-mail templates (stationery) to help beautify and highlight the message you need to send.
  • How to fix duplicate Outlook mail errorHow to fix duplicate Outlook mail error
    some people encounter the error of outgoing outlook mail being duplicated with identical content, then the mail you send will automatically send 2 copies to the recipient.
  • How to use Gmail for newbies - Receive & send mail, organize mail, delete sent mail, recover deleted mailHow to use Gmail for newbies - Receive & send mail, organize mail, delete sent mail, recover deleted mail
    how to use gmail for newbies - receive & send mail, organize mail, delete sent mail, recover deleted mail. the beginner learn and learn how to use gmail, you do not know how to use gmail? so you refer to the article below.
  • Send Email using PHPSend Email using PHP
    php must be configured correctly in the php.ini file with details about how your system sends email. open php.ini available in the / etc / directory and find the section that starts with [mail function].
  • How to Set Up Apple MailHow to Set Up Apple Mail
    mail is the counterpart of microsoft's outlook software, which enables mac users to send, receive, and read email messages on their apple computers and devices. adding popular accounts such as gmail and yahoo! to mail is as simple as...
  • What is Loop mail?What is Loop mail?
    what is loop mail? to help you with this question, the following article will help you find out what loop mail is.