How to read and send electronic mail in a telnet or SSH session

Updated: 08/31/2020 by Computer Hope

Notification for new e-mail.

There are many means a user tin can send and receive e-mail when continued through a telnet or SSH session. Below are a few of the near normally used methods used on a telnet session or at the command line. Notwithstanding, keep in listen that all the following solutions are only going to piece of work if you lot have telnet or SSH admission to your email server or ISP. Finally, when sending an electronic mail using any of the below methods, yous'll be sending an e-post from the business relationship. For example, if your account proper name was examination and you were sending e-mail from the Calculator Hope server, the e-mails would be coming from [electronic mail protected]

Note

Telnet sends all information every bit cleartext, which means the information you lot enter during session is non encrypted and tin can be read past sniffing or eavesdropping your connection. Any user who is concerned about their privacy should use SSH instead of telnet.

The links below explain how to send postal service through each of the widely used and bachelor programs.

Ship and read e-mail with pine

I of the most easiest and most mutual ways to send and receive email is to run the pino control. If pine is set up and installed on the calculator you're connected to, you can send and receive e-mail through its interface. Below is additional data nearly how this can be done.

Transport an eastward-mail

  1. Open pino past typing pine at the command line and press the Enter key. If you receive an error, it's likely not installed or configured on the server.
  2. From the main menu pointer, choose the Etch MESSAGE option or printing the C key. From the etch message section, you tin can address the message to the user(s) yous desire to send the electronic mail to, the subject, and the message.

Read an e-mail

  1. Open pine by typing pine at the control line and printing the Enter key. If you receive an error, it's likely non installed or configured on the server.
  2. One time in pine, use the arrow keys to select Binder List. Or, press the Fifty central to either open you directly to the INBOX or allow you to specify the mail service folder and the folder you want to display.
  3. One time in the INBOX, move to the message you desire to read and press the Enter.

Any time you need to become dorsum to the main menu, press the M key or Q cardinal, and then press the Y key for yes to quit from Pine.

Transport and read e-mail with elm

The elm control is another popular method for sending and reading electronic mail through an SSH or Telnet session or at the command prompt. Below is additional information about how to apply this command to transport and receive e-mails.

Ship an e-mail

  1. Open up elm past typing elm at the control line. If you lot receive an mistake, information technology's likely not installed or configured on the server.
  2. Press the Grand cardinal to mail a message, blazon the address, field of study, and bulletin you want to send.
  3. In one case done typing the message, printing Ctrl+X (^X) to exit the bulletin.
  4. Press Y for aye if you want to send the message, and the bulletin should be sent.

Read an email

  1. Open elm by typing elm at the command line. If y'all receive an error, it's likely not installed or configured on the server.
  2. If e-mail messages are available to be read, they are shown on the first screen. You can either printing the pointer up or downwardly or the J and K keys to navigate through the messages.
  3. One time y'all've selected the message you want to read, press the Enter primal.
  4. In the message, if there are multiple pages press the spacebar key to folio through the bulletin. If you lot continue to printing infinite, it also goes through each of the messages.

Send and read e-mail service with post

The mail control is a bones mail program that allows a user to read and send east-mail service from the control prompt. Below is boosted information about how to utilise this command to send and receive e-mails.

Transport an e-post

  1. At the command line, type mail service [email protected] where [email protected] is the due east-mail service accost yous want to e-mail.
  2. If executed properly and available, a prompt appears with the subject of the message. Type a subject and press the Enter key.
  3. Next, you'll start off on a new line; this new blank line is the message body of your message. Type your e-mail message you want to send and when completed, type a menses "." on a blank line and press the Enter key to terminate the bulletin.
  4. Finally, you'll be prompted for a Cc. If you lot take whatsoever other addresses you want to transport the electronic mail to, blazon those addresses on this line and press the Enter key. Otherwise, press the Enter cardinal without typing anything.

Read an e-postal service

  1. At the command prompt, blazon mail service and press the Enter key.
  2. If available and you have any new e-post letters, yous'll meet a list of east-mails with corresponding numbers next to each of them.
  3. Type the number for the e-mail you want to read.