win32com: create email message in windows default app?

News M Claveau /Hamster-P essai1 at mci.local
Sun Sep 7 19:19:05 CEST 2003

Hi !

But what is "windows default email application" ?

In windows, with WSH, you can write :
    Dim str,objEmail
    Set objEmail = CreateObject("CDO.Message")
    objEmail.From = "toto at"
    objEmail.To = "tata at"
    objEmail.Subject = "Msg-try"
    objEmail.Textbody = "Corps (body) du (of) message."
And run, without pb.
Other way : use MAPI application (essentially outlook-express, or outlook),
but the "default notion" is bad definition  (why MAPI more than CDO or more
than Python-library ? )

Windows give sockets and applications use sockets, without priority.
Applications like yours, virus, trojan, anti-virus, python-scripts, etc.

-sorry for my poor english-

Michel Claveau
site :

More information about the Python-list mailing list