Python To Send Emails Via Outlook Express

ian at kirbyfooty.com ian at kirbyfooty.com
Mon Dec 20 03:02:26 EST 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 cgbs.com.au"                                (was
"ian at kirbyfooty.com")
s.To = "ian at kirbyfooty.com"                                  (was
"someone at yahoo.com")
s.Subject = "The subject"
s.Send()


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

Kind regards
Ian




More information about the Python-list mailing list