[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Semi-OT] Accessing gmail from Python



On 05/06/2010 03:34 PM, Jordan Metzmeier wrote:
On Thu, May 6, 2010 at 4:14 PM, Ron Johnson<ron.l.johnson@cox.net>  wrote:
Does anyone have an example of how to do this?  Google hasn't helped,
specifically at telling me what the keyfile and certfile should be.

Google *did*, though, help me with fetchmail, so now I have the relevant pem
files.

$ dir .certs/
total 48
drwxr-xr-x   2 me me  4096 2010-05-06 15:13:16 ./
drwxr-xr-x 205 me me 36864 2010-05-06 15:10:01 ../
lrwxrwxrwx   1 me me     9 2010-05-06 11:11:20 34ceaf75.0 ->  gmail.pem
lrwxrwxrwx   1 me me    11 2010-05-06 11:11:20 594f1775.0 ->  equifax.pem
-rw-r--r--   1 me me  1162 2009-05-04 18:56:06 equifax.pem
-rw-r--r--   1 me me  1224 2010-05-06 10:51:08 gmail.pem

--

What is the purpose of this? You want to write your own MUA in python?


It's useful to be able to able to access the POP store at a lower level. For exaple, sometimes emails get corrupted, and sometimes they are too big for SMTP to handle.

Sometimes you just want to do it for no other reason than it's interesting to do.

--
Dissent is patriotic, remember?


Reply to: