LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-11-2005, 07:42 AM   #1
kvtournh
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Mandriva
Posts: 91

Rep: Reputation: 15
number of emails over command line


Hi,

I'm searching for a way how i can check if I have email on a server using the command line, I don't want to see the email ... don't want to download it from the server ... i just want to know if i have one and if so ... how much.

The point is that I have an IMAP account on an external server and I want to see if I have email or not. I am able to do this using dcop and kmail, but then I have to let kmail running all the time ... and to be honest, this sounds a bit stupid because then I can just open kmail and see if I have an email or not. So is there a way to check it in command line without opening any X-programs, and that I just get some kind of output like

$ the-magic-commandline-sequence-to-check-your-mail
local inbox: 5 new emails
IMAP inbox: 3 new emails

thanks

klaas
 
Old 01-11-2005, 08:52 AM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
mailslayer or any of those biff kind of stuff?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting line number s_shenbaga Linux - Newbie 1 10-21-2005 05:52 AM
number of command line arguments to shell u4u Linux - General 1 03-04-2005 06:09 PM
Quick Q: Command to print line number X? KneeLess Linux - Software 1 05-27-2004 07:49 PM
Printing a line number gummimann Programming 2 11-06-2003 06:09 AM
Number of Emails in INBOX BxBoy Programming 3 02-24-2003 07:04 AM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration