Ask Your Question
0

can i read my email using terminal.......??

asked 2014-08-17 08:16:58 -0600

Tiger gravatar image

please tell me can i read my gmail mail in terminal using mail command or or send mail........??

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2014-08-17 09:17:52 -0600

hedayat gravatar image

This is a part of what you'll get from man mail:

       Mailx is an intelligent mail processing system, which has a command syntax reminiscent of ed(1) with lines replaced by  messages.   It  is based  on  Berkeley  Mail  8.1, is intended to provide the functionality of the POSIX mailx command, and offers extensions for MIME, IMAP, POP3, SMTP, and S/MIME.  Mailx provides enhanced features for interactive use, such as caching and disconnected operation for  IMAP,  message threading, scoring, and filtering.  It is also usable as a mail batch language, both for sending and receiving mail.

Also, it supports SSL/TLS and STARTTLS, so it has all what is needed to connect to gmail servers. Therefore, you should be able to use it as a client to connect to GMail using SMTP and IMAP. Just make sure that you use correct settings (correct SMTP port (IIRC it was 587, but check gmail help about configuring mail clients).

Links for settings: http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm https://support.google.com/mail/troubleshooter/1668960?hl=en&ref_topic=3397500#ts=1665018,1665144

edit flag offensive delete link more

Comments

hey i m asking how to send mail using terminal not about GUI and also not about manual of mail command if know then please tell me how......

Tiger gravatar imageTiger ( 2014-08-17 11:46:33 -0600 )edit

As I said, you can send email in terminal using mail command. If you are asking how can I read/send emails using mail command please edit your question and add enough details.

hedayat gravatar imagehedayat ( 2014-08-17 12:56:23 -0600 )edit

If you want to know how to do things from a CLI, you're going to have to learn how to RTFM.

sideburns gravatar imagesideburns ( 2014-08-17 14:22:31 -0600 )edit

now please tell me how........??

Tiger gravatar imageTiger ( 2014-08-17 19:57:02 -0600 )edit

If you want to learn how to use the CLI interface to mail, try man mail. To learn how to use the manual, use man man. This will tell you everything you need to know and possibly more than you want to know about almost any standard Linux command.

sideburns gravatar imagesideburns ( 2014-08-17 21:39:35 -0600 )edit
1

answered 2014-08-17 22:11:38 -0600

There are two popular options for reading and sending email via a terminal programs.

  1. Mutt

  2. Gnus

edit flag offensive delete link more

Comments

Mutt is great but I don't think it display directly from Gmail?

monreal gravatar imagemonreal ( 2014-08-18 12:11:22 -0600 )edit

What do you mean by directly? None of the email clients will display anything directly. You will have to configure it. You willing to use terminal email client will obviously mean you will need to put in time to learn it.

sudhirkhanger gravatar imagesudhirkhanger ( 2014-08-19 06:38:10 -0600 )edit
0

answered 2014-08-18 06:29:48 -0600

Have a look at this website as well, it might help - http://www.linuxuser.co.uk/tutorials/get-started-with-mutt

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2014-08-17 08:16:58 -0600

Seen: 2,586 times

Last updated: Aug 18 '14