Separate names with a comma.
Discussion in 'Mac Help/Tips' started by AEagleX7, Feb 5, 2003.
I was wondering if there is a way to check POP mail in the terminal. possibly a Unix app. etc.
I have no idea, but I am curious as to why you would want to check your mail via the terminal? If your running the terminal that means you are in X, and if you are in X you have Mail.app...just curious
LOL i am still confused about X and all that so i was just curious.
There are many many ways to check mail in the terminal. The 'mail' command will read mail sent to your OS X user account.
One of the most common apps for pop is pine, which may be installed by default, or may be part of the fink package (fink.sourceforge.net).
On top of thoses, I'm positive there are many others.
However, checking mail graphically makes sense, so you should prolly focus on exploring areas which are better suited to the terminal.
Check out macosxhints.com for many neat things for which the terminal is well suited.
POP via the terminal
Let's see... it's been a while, but something like this:
To send mail:
MAIL FROM: <email address>
RCTP TO: <email_address>
subject: Hi! You've got new mail!
<CR> (you need carriage return to begin body)
This is my great email message and I will end it with a line that only has a period on it.
but another dumb question lLOL...sorry newbie here
what is :110 for after mail.whereever.com
the port number. 110 is the pop3 default. 25 is the smtp default.
PINE is probably my favorite. I hope that by X you mean OS X and not X11. Go to fink.sourceforge.net and install it and then you can use pine, elm, or probably a bunch of other mail mta's
Why would you want to use the terminal window to check mail, you could connect to a remote machine and check your mail from there. You could log into your os x machine from someone else's computer and have your pine settings already set up and check your mail. There are a bunch of reason.
One reason to use command-line methods to access e-mail hasn't been mentioned. With shell-level e-mail commands, you can use shell scripts to automate e-mail actions. Spammers do this kind of thing, but I'm talking about legitimate uses. I've written a shell script, for example, that takes the results of a database search, converts it to a spreadsheet CSV file, and e-mails it to the person who requested it. With GUI e-mail apps, AppleScript can probably be used to do the equivalent, but shell scripts and command-line apps have the advantage that they can likely run on other Unix platforms too.