LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-17-2007, 04:57 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Console gmail account checker ? (no X)


Hi,

I have a tiny question. I am not good enough to modify http://gmail-notify.sourceforge.net/

and I am sure that a tool exists already to check the emails from the console. I googled and couldnt find such program. (no X)

Has someone any idea ?

Thanks
 
Old 06-17-2007, 06:41 PM   #2
infidel
Member
 
Registered: Jun 2003
Location: Easley, SC, US
Distribution: Ubuntu 7.10, Mandrake 9.2
Posts: 91

Rep: Reputation: 15
check-gmail.py is a Python script that uses your account's Atom feed to display the subjects and senders of your 20 most recent new messages. Works well for me. You'll need to make sure you have the "feedparser" and "urllib" bindings for Python installed (they ought to be available through your distribution's package manager, assuming it has one).

There's also a Perl script, if that's your preference, which does roughly the same thing: http://www.swaroopch.info/archives/2...1/check_gmail/

If you're a Python scripter, there's always libgmail, a Python binding for interacting with Gmail:

http://libgmail.sourceforge.net/

The home page includes a simple python script which (quoting the site) "logs into an account, retrieves a list of threads, displays information about them and displays the source of the individual messages". Trying the sample code myself, I get an error and the output is ugly (though it does include useful information). I have a _little_ Python knowledge, so I may play with it a bit myself.

There may be more command-line options out there; I'm still looking.

Good luck!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Import mail into Gmail with the Gmail Loader LXer Syndicated Linux News 0 03-19-2007 06:01 AM
fstab file checked ? ashintoms Linux - Networking 1 07-12-2006 07:53 PM
Anyone checked out the 2.6.12.3 kernel yet? ta0kira Slackware 5 07-22-2005 05:44 AM
i checked the cds but farhan Linux - General 3 03-25-2003 06:41 PM
which is checked first 98steve600 Linux - General 1 01-31-2001 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration