Re: Python and Outlook, sendinf an image in the body of email

2012-07-23 Thread bruceg113355
This assignment works: import win32com.client oOutlook = win32com.client.Dispatch("Outlook.Application") appt = oOutlook.CreateItem(0) appt.BodyFormat = win32com.client.constants.olFormatHTML But this assignment does not work: import win32com.client oOutlook = win32com.client.Dispatc

Re: Python and Outlook, sendinf an image in the body of email

2012-07-23 Thread bruceg113355
These do not work: appt.BodyFormat = olBodyFormat.olFormatHTML ... appt.BodyFormat = olBodyFormat.olFormatHTML NameError: name 'olBodyFormat' is not defined appt.BodyFormat = win32com.client.constants.olFormatHTML ... appt.BodyFormat = win32com.client.constan

Re: Python and Outlook, sendinf an image in the body of email

2012-07-23 Thread Emile van Sebille
On 7/23/2012 11:33 AM bruceg113...@gmail.com said... I tried something similar to the example at http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email . Problem is, this line is not understood: mail.BodyFormat = OlBodyFormat.olFormatHTML If I read the example properl

Re: Python and Outlook, sendinf an image in the body of email

2012-07-23 Thread Ian Kelly
On Mon, Jul 23, 2012 at 12:33 PM, wrote: > I tried something similar to the example at > http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email . > > Problem is, this line is not understood: >mail.BodyFormat = OlBodyFormat.olFormatHTML > > Traceback (most recent call

Re: Python and Outlook, sendinf an image in the body of email

2012-07-23 Thread python
> Problem is, this line is not understood: > > mail.BodyFormat = OlBodyFormat.olFormatHTML Try olBodyFormat (lower case 'o') Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Outlook, sendinf an image in the body of email

2012-07-23 Thread Ian Kelly
On Mon, Jul 23, 2012 at 11:19 AM, wrote: > All, > > I am trying to figure out how to send a image in the body of a email when > Making a Meeting Request. You need to use html in the body with an tag that references the attachment. See: http://stackoverflow.com/questions/4312687/how-to-embed-

Re: Python and Outlook-style rules

2011-09-10 Thread Brian
On Sep 9, 5:19 pm, Alec Taylor wrote: > Something like this? > > http://stackoverflow.com/questions/387606/using-user-input-to-find-in... > Actually, I'm looking for a framework or something similar - something more like this, only for python: http://www.codeproject.com/KB/macros/RulesWizard.aspx

Re: Python and Outlook-style rules

2011-09-09 Thread Alec Taylor
Something like this? http://stackoverflow.com/questions/387606/using-user-input-to-find-information-in-a-mysql-database On Sat, Sep 10, 2011 at 12:29 AM, Brian wrote: > I'm about to create a system which will need to allow hundreds of > users to create and maintain their own rules in a similar f

Re: python and outlook

2005-10-21 Thread skip
dt> Are there any links or sites on how to read outlook mail boxes or dt> address book? Check the Outlook plugin code in SpamBayes . Skip -- http://mail.python.org/mailman/listinfo/python-list

RE: python and outlook

2005-10-21 Thread Tim Golden
[dt] > Are there any links or sites on how to read outlook mail boxes or address book? Easiest thing to probably to automate the Outlook COM object or a MAPI Session for CDO access. You can do this easily with the pywin32 extensions. http://pywin32.sf.net You can then use pretty much any publis