0

New to mail in linux command line, I don't know it support POP3 protocal or not which icloud mail service using?

Is there a more handy command line mail clinet than mail?

1
  • @technomage Yes I think so. How can I move the question to superuser?
    – mko
    Jul 19, 2012 at 1:33

2 Answers 2

1

Is there anyway to send and receive email in linux command using POP3?

No, by definition. POP can only be used to receive mail -- it has no provisions for sending mail. Mail is typically sent using SMTP. (Which mail can do, indirectly, by way of sendmail.)

Standard implementations of mail can only read local mail (e.g, mail messages stored in a mbox file or maildir). You will need to use a program such as fetchmail to copy mail from a POP server to your local machine, or use a different mail client.

Is there a more handy command line mail clinet than mail?

Yes. mail is the oldest commonly available command-line mail client, and as such is probably the least convenient possible one to use; there are a lot of far superior mail programs, including alpine, mutt, mh, gnus, and many others.

2
  • I've checked out the manual of the GNU Mailutils mailutils.org/manual/mailutils.html it seems to support POP3 which as you said for receiving mail only.
    – mko
    Jul 20, 2012 at 5:32
  • That's describing the entirety of the Mailutils suite. GNU mail itself doesn't support POP (it only reads mail spools and maildirs), but some of the other utilities, such as movemail (similar to fetchmail) do support POP.
    – user89623
    Jul 20, 2012 at 5:37
1

Check out pine, elm or mutt

pine - http://www.washington.edu/pine/

elm - http://www.instinct.org/elm/

mutt - http://www.mutt.org/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .