Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-18 Thread Alexander Gattin
Hello, On Fri, Feb 18, 2011 at 09:40:19AM +0500, Andrea Gavana wrote: > Fails with a variety of errors depending on which port I use: > > - Port 80: urllib2.HTTPError: HTTP Error 407: Proxy Authentication > Required ( The ISA Server requires authorization to fulfill the > request. Access to the W

Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-17 Thread Andrea Gavana
Hi Malcolm, On 17 February 2011 19:20, wrote: > Hi Andrea, > > Have you tried temporarily turning off your Windows firewall software > and/or any locally installed internet security software like Norton, > Avast, etc? You don't need to turn off your entire security package, > just the component

Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-17 Thread python
Hi Andrea, Have you tried temporarily turning off your Windows firewall software and/or any locally installed internet security software like Norton, Avast, etc? You don't need to turn off your entire security package, just the component that controls internet access. If the problem can not be re

Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-17 Thread Andrea Gavana
Hi Malcolm, On 17 February 2011 11:44, Malcolm Greene wrote: > Andrea, > > What type of result do you get trying port 993 ? Thank you for your answer. I have tried that, with imaplib and libgmail. This is what I get with imaplib: Traceback (most recent call last): File "

Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-16 Thread Chris Rebert
On Wed, Feb 16, 2011 at 10:44 PM, Malcolm Greene wrote: > Andrea, > > What type of result do you get trying port 993 ? i.e. The port Google explicitly says to use for IMAP in Gmail's help docs. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list

Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-16 Thread Malcolm Greene
Andrea, What type of result do you get trying port 993 ? Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-16 Thread Andrea Gavana
ost, port) File "C:\Python26\lib\imaplib.py", line 1149, in open self.sock = socket.create_connection((host, port)) File "C:\Python26\lib\socket.py", line 514, in create_connection raise error, msg socket.error: [Errno 10061] No connection could be made because the target

Re: IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-16 Thread BJ Swope
pany's proxy): > > import socks > import socket > > proxy_ip = "10.100.100.20" # Your proxy IP/DNS here > > socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, proxy_ip, 8080, True, > username2, password2) > socket.socket = socks.socksocket > > import

IMAP4_SSL, libgmail, GMail and corporate firewall/proxy

2011-02-16 Thread Andrea Gavana
0" # Your proxy IP/DNS here socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, proxy_ip, 8080, True, username2, password2) socket.socket = socks.socksocket import imaplib m = imaplib.IMAP4_SSL('imap.gmail.com', 443) m.login(username, password) This solution just hangs forever at the line:

Re: redoing libgmail interface to "smtplib" blah?

2009-08-16 Thread Dave Angel
Dennis Lee Bieber wrote: On Sat, 15 Aug 2009 23:14:39 -0600, John Haggerty declaimed the following in gmane.comp.python.general: I did detect one problem thus far File "test.py", line 152 if len(args) == 1 and args[0] = "-c": Should have been fine, unless my memory of s

Re: redoing libgmail interface to "smtplib" blah?

2009-08-15 Thread John Haggerty
the entire thing... There are no signs of any functional decomposition > in that -- if Python had an unstructured GOTO, I'd suspect this would > have been a spaghetti-code program... As it is, the best I can call it > is lasagna-code (interwoven but distinct layers in a linear form >

Re: redoing libgmail interface to "smtplib" blah?

2009-08-15 Thread John Haggerty
'd suspect this would > have been a spaghetti-code program... As it is, the best I can call it > is lasagna-code (interwoven but distinct layers in a linear form > from one end to the other). > > > > if __name__ == "__main__": > > import os,time,sys,li

redoing libgmail interface to "smtplib" blah?

2009-08-15 Thread John Haggerty
Wondering specifically what would have to be changed to what. Thanks for your time :) #!/usr/bin/env python # # ogss -- SMS Shell through Gmail and libgmail # # Version 0.2 # # Author: bto...@mastahyeti.com # # License: GPL 2.0 # # NOTE: # You should ensure you are permitted to use this script be

Re: error when use libgmail with proxy

2009-06-22 Thread eGlyph
On 22 июн, 10:33, 马不停蹄的猪 wrote: > Hi all, > Does anybody use libgmail with proxy? I met error here. I wouldn't recommend to use this module at all. It was writtent at the time when no IMAP was available at Google. Now there are POP and IMAP, so it's better to us

Re: error when use libgmail with proxy

2009-06-22 Thread Vincent
On Jun 22, 3:33 pm, 马不停蹄的猪 wrote: > Hi all, > Does anybody use libgmail with proxy? I met error here. > > Below is code snip: > > libgmail.PROXY_URL = G_PROXY # the proxy url > self.ga = libgmail.GmailAccount(account,pwd) > self.ga.login

error when use libgmail with proxy

2009-06-22 Thread 马不停蹄的猪
Hi all, Does anybody use libgmail with proxy? I met error here. Below is code snip: libgmail.PROXY_URL = G_PROXY # the proxy url self.ga = libgmail.GmailAccount(account,pwd) self.ga.login() Error information: ga.login () File "C:\Python25\Lib\site-pac

Any other web mail accessor like libgmail?

2009-03-31 Thread Ken
Is there other python wrapper such as libhotmail or libyahoomail? curiously ask. :p -- http://mail.python.org/mailman/listinfo/python-list

libgmail through proxy

2008-04-01 Thread Ravi Kumar
HI, I was trying to use libgmail. I used that successfully, fetched mail to some extend (thought after some mails, it threw exceptions on NonIterable Int). But when I used the same package from my office where I have to use the proxy, it failed. I used idle, then I also set os.ENVIRON['http_

Re: libgmail failure

2007-08-23 Thread [EMAIL PROTECTED]
Thanks! That worked brilliantly. -James -- http://mail.python.org/mailman/listinfo/python-list

Re: libgmail failure

2007-08-22 Thread Hamish Macpherson
On Aug 21, 5:07 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hey all, > > I've been usinglibgmailto send out automated notification emails for > my company's nightly regression testing. Last night these emails > started failing, though the python code has not changed. I updated to > the l

Re: libgmail failure

2007-08-22 Thread [EMAIL PROTECTED]
; I have not heard of this. How do you spoof IE in libgmail? > > You might have to edit libgmail.py directly and add a header to the > urllib2.Request() call. Here are the relevant lines from some code I > wrote (spoofing netscape it looks like): > > user_agent = 'Mozilla/4.0 (co

Re: libgmail failure

2007-08-22 Thread James Stroud
[EMAIL PROTECTED] wrote: > On Aug 22, 10:26 am, James Stroud <[EMAIL PROTECTED]> wrote: >> Have you thought about spoofing explorer? Always spoof explorer. >> >> James > > > I have not heard of this. How do you spoof IE in libgmail? You might have to edit l

Re: libgmail failure

2007-08-22 Thread [EMAIL PROTECTED]
On Aug 22, 10:26 am, James Stroud <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hey all, > > > I've been using libgmail to send out automated notification emails for > > my company's nightly regression testing. Last night these emails > &g

Re: libgmail failure

2007-08-22 Thread james.pingenot
On Aug 22, 10:26 am, James Stroud <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hey all, > > > I've been using libgmail to send out automated notification emails for > > my company's nightly regression testing. Last night these emails > &g

Re: libgmail failure

2007-08-22 Thread James Stroud
[EMAIL PROTECTED] wrote: > Hey all, > > I've been using libgmail to send out automated notification emails for > my company's nightly regression testing. Last night these emails > started failing, though the python code has not changed. I updated to > the latest libg

Re: libgmail failure

2007-08-22 Thread Jiapj
I met the same problem now, James , do you have resolved this problem ? On Aug 22, 5:07 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hey all, > > I've been using libgmail to send out automated notification emails for > my company's nightly regres

Re: libgmail failure

2007-08-21 Thread [EMAIL PROTECTED]
Thanks for the suggestion. I've tried logging in and sending email manually and it works just fine. Thanks though, James -- http://mail.python.org/mailman/listinfo/python-list

Re: libgmail failure

2007-08-21 Thread billiejoex
On 21 Ago, 23:07, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hey all, > > I've been using libgmail to send out automated notification emails for > my company's nightly regression testing. Last night these emails > started failing, though the python

libgmail failure

2007-08-21 Thread [EMAIL PROTECTED]
Hey all, I've been using libgmail to send out automated notification emails for my company's nightly regression testing. Last night these emails started failing, though the python code has not changed. I updated to the latest libgmail, but that isn't helping. I've lo

gmail.py (WAS: Re: [ANN] libgmail 0.0.1 -- Gmail access via Python)

2007-04-27 Thread Stephen Levitus
I saw some material about exporting archived emails from gmail to outlook on the web that had your name in them. I'm looking for a way to export about 200 messages with about 250 or so attachments into an Outlook. Or preferably, I'd like to simply save all of the attachments that are in the gmail a

Re: Libgmail

2006-11-28 Thread Jussi Salmela
docs that i posed the question > here :) thanks for the suggestion anyway The page I suggested to you http://libgmail.sourceforge.net/ has a Downloads link and there you can find a docs file which contains demo code (9 programs) and the libgmail API documentation. Unfortunately I d

Re: Libgmail

2006-11-28 Thread linuxfreak
thanks for the suggestion anyway Jussi Salmela wrote: > linuxfreak wrote: > > hi guys, > > > > just starting out on python and libgmail... any documentation for > > libgmail outthere... basically what i want to do is develop an > > application to use gma

Re: Libgmail

2006-11-28 Thread Jussi Salmela
linuxfreak wrote: > hi guys, > > just starting out on python and libgmail... any documentation for > libgmail outthere... basically what i want to do is develop an > application to use gmail like and ftp server... should be able to > upload files and download them as well

Libgmail

2006-11-28 Thread linuxfreak
hi guys, just starting out on python and libgmail... any documentation for libgmail outthere... basically what i want to do is develop an application to use gmail like and ftp server... should be able to upload files and download them as well thanks -- http://mail.python.org/mailman

libgmail: attaching files

2006-10-04 Thread wal
How does one attach files to emails using libgmail? The following code http://pramode.net/articles/lfy/fuse/4.txt works fine when said files are simple text files, but it failes as soon as the files are wild binary files, even attaching the source of an email in a text file (.eml files) failes

Announce: libgmail 0.1.2 - security upgrade

2005-09-19 Thread stasz
Hello, The latest release of libgmail fixes a critical security bug. Users are recommended to upgrade as soon as possible. You can download version 0.1.2 here: http://sourceforge.net/project/showfiles.php?group_id=113492&package_id=122807 What's libgmail? The libgmail project is a pu

libgmail login failure

2005-09-11 Thread kevincw01
There doesnt seem to be a reliable support channel for libgmail so i figured this group might have some people who could help. I have the latest version(from cvs) of libgmail.py, lgconstants.py and mkconstants.py with python version 2.3.3. gmailfs fails with a login error. I also tried a test