Python To Send Emails Via Outlook Express

ian at ian at
Mon Dec 20 09:47:26 CET 2004

Hi Ganesan

Wow, I'm REALLY impressed with the high level of support in this forum.
(Another great reason to continue learning Python <grin>

I tried what you suggested.
After trying a different from/to address the message is sent. But it is
NOT sent via Outlook Express.

I would appreciate any other suggestions.

Thanks in advance

The script is now..

import win32com.client

s = win32com.client.Dispatch('CDO.Message')
s.From = "ian at"
s.To = "ian at"
s.Subject = "The subject"
cdoSourceOutlookExpress        = 2

More information about the Python-list mailing list