Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Ubuntu Hardy Desktop, Solaris 10, Workstation 2008 x64
Posts: 75
Thanked: 1
Original Poster
I tried with a perl module called WWW::Scraper::Gmail but something is screwy
WWW::Scraper::Gmail::countMail() just returns 0 when there are messages or 0 when there arnt. I'm assuming this is deprecated but i would have liked a more customisable interface.
How about IMAP protocol in Gmail and fetchmail on your Linux?
~/.fetchmailrc:
poll imap.gmail.com with proto imap and options no dns
user "account@gmail.com" there is your-linux-account here options ssl keep pass your-gmail-password
Check mail without downloading and verbose option on:
fetchmail -c -v
Distribution: Ubuntu Hardy Desktop, Solaris 10, Workstation 2008 x64
Posts: 75
Thanked: 1
Original Poster
I know, i was thinking that too, but i mean, thats really messy and inelegant
With perls extensability, web handling and xml processing, I'd hav thought that it would be a breeze. Guess not.
Thank you for your contribution.
Any other ideas?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.