Re: Archiving emails in Gmail

2010-06-15 Thread Tim Golden
On 15/06/2010 16:15, Grant Edwards wrote: On 2010-06-15, Tim Golden wrote: On 15/06/2010 15:10, Grant Edwards wrote: On 2010-06-15, teja wrote: I have a requirement that I want to log-in into a gmail account read all unread mails, mark them as read and then archive them. I am using libgmai

Re: Archiving emails in Gmail

2010-06-15 Thread Grant Edwards
On 2010-06-15, Tim Golden wrote: > On 15/06/2010 15:10, Grant Edwards wrote: >> On 2010-06-15, teja wrote: >> >>> I have a requirement that I want to log-in into a gmail account read >>> all unread mails, mark them as read and then archive them. >>> I am using libgmail (version 0.1.11) library to

Re: Archiving emails in Gmail

2010-06-15 Thread Tim Golden
On 15/06/2010 15:10, Grant Edwards wrote: On 2010-06-15, teja wrote: I have a requirement that I want to log-in into a gmail account read all unread mails, mark them as read and then archive them. I am using libgmail (version 0.1.11) library to do so, using which I am able to log-in into a gma

Re: Archiving emails in Gmail

2010-06-15 Thread Grant Edwards
On 2010-06-15, teja wrote: > I have a requirement that I want to log-in into a gmail account read > all unread mails, mark them as read and then archive them. > I am using libgmail (version 0.1.11) library to do so, using which I > am able to log-in into a gmail account fetch all unread message a

Re: Archiving emails in Gmail

2010-06-15 Thread Thomas Jollans
On 06/15/2010 11:07 AM, teja wrote: > And there's a email library provided in Python (supports both POP and > SMTP) but I dont know whether it allows us to archive mails or mark > them as read for that matter. POP (the protocol) only allows downloading messages, AFAIK. SMTP is for sending. A more

Re: Archiving emails in Gmail

2010-06-15 Thread teja
Ohh my bad... thanks a lot for replying Alf.. The error which I've pasted above, was thrown before I modified the code a bit.. Here's the error thrown on running the code I've pasted above.. there's not much of a difference in the error though. HTTP Error 500: Internal Server Error Traceback (m

Re: Archiving emails in Gmail

2010-06-15 Thread Alf P. Steinbach
* teja, on 15.06.2010 09:03: Hi, I have a requirement that I want to log-in into a gmail account read all unread mails, mark them as read and then archive them. I am using libgmail (version 0.1.11) library to do so, using which I am able to log-in into a gmail account fetch all unread message an

Archiving emails in Gmail

2010-06-15 Thread teja
Hi, I have a requirement that I want to log-in into a gmail account read all unread mails, mark them as read and then archive them. I am using libgmail (version 0.1.11) library to do so, using which I am able to log-in into a gmail account fetch all unread message and then read them one by one. No