Python To Send Emails Via Outlook Express

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

Hi Fredrik,
Thank you for the suggestion.

I tried different from/to settings and guess what? The mail came thru.

The script is now..
import win32com.client

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

My problem is thought, the message is still not being sent via Outlook
What am I missing?
Thanks again for your help so far!!

Kind regards

More information about the Python-list mailing list