James Matthews wrote: > Thank you Larry however those websites don't help me when i want to be > able to retrieve email content. > > On 7/9/07, *Larry Bates* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > 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@python.org <mailto:Python-win32@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://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/ > > <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 > > _______________________________________________ > Python-win32 mailing list > Python-win32@python.org <mailto:Python-win32@python.org> > http://mail.python.org/mailman/listinfo/python-win32 > > > > > -- > http://www.goldwatches.com/watches.asp?Brand=14 > http://www.jewelerslounge.com <http://www.jewelerslounge.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Python-win32 mailing list > Python-win32@python.org > http://mail.python.org/mailman/listinfo/python-win32
The source code for spambayes should certainly help. I know that application reads all the text of incoming email messages to determine if they are SPAM. -Larry _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32