Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Objects-- createObject()

Status
Not open for further replies.

OraWiz

Programmer
Aug 17, 2003
37
IN
Hello,
I am trying to create an object of Outlook Express.
But it is not happening, saying class definition is not found. What could be the problem. The same thing is working with 'outlook'.

objMail =createObject("msimn.application")

Hope someone will give a hint.

Thanks and Rgds
Sebastian
 
Hello Sebastian.

>> I am trying to create an object of Outlook Express.
But it is not happening, saying class definition is not found. What could be the problem. The same thing is working with 'outlook'. <<

As Chris said, you cannot automate Outlook Express. You can, however, use MAPI to send and receive e-mail if Outlook Express is your e-mail client.

You can also use CDO for Windows 2000 to send e-mail using SMTP if you have access to an e-mail server either locally or on the net.






Marcia G. Akins
 
Hello Marcia

<use MAPI to send and receive e-mail if Outlook Express is your e-mail client>

Could you please tell me how can I use MAPI in my application to send eMails.
Rgds
Sebastian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top