[EMAIL PROTECTED] wrote:
Unfortunately Outlook Express isn't programmable in the same way as Outlook. I used to use it because this property gave it a certain degree of immunity from macro viruses (back in the days when Outlook came configured to open any Office document it came across).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 = "[EMAIL PROTECTED]" (was "[EMAIL PROTECTED]") s.To = "[EMAIL PROTECTED]" (was "[EMAIL PROTECTED]") 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
About the next you can do is to add your email address as a Cc and then file the messages when you receive them, I suspect.
Why the insistence on using Outlook Express, is you don;t mind me asking?
regards Steve (who almost always uses smtplib) -- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/ Holden Web LLC +1 703 861 4237 +1 800 494 3119 -- http://mail.python.org/mailman/listinfo/python-list