[python-win32] urllib and Outlook 2007

Larry Bates larry.bates at websafe.com
Mon Jul 9 21:42:06 CEST 2007


James Matthews wrote:
> Dear List
> 
> I have two questions.
> 
> 
> 1. Is there any way to change the user-agent when using urllib.urlopen
> without having to subclass it?
> 
> 2. I cannot seem to find anything on reading outlook email using COM
> everything i find is out dated can anyone give me some pointers or a
> place to find some information.
> 
> Thanks
> James
> 
> -- 
> http://www.goldwatches.com/watches.asp?Brand=14
> http://www.jewelerslounge.com <http://www.jewelerslounge.com>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32


I can help with #2:

Did you even try Google?

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/266625
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/173216
http://www.boddie.org.uk/python/COM.html
http://cephas.net/blog/2004/09/17/sending-your-outlook-calendar-using-python/

Also I would look at SpamBayes add-in source code.
http://spambayes.sourceforge.net/applications.html

-Larry



More information about the Python-win32 mailing list