Home All Groups Group Topic Archive Search About

Sending Mail via MAPI - VB .NET 2005

Author
24 Feb 2006 10:23 AM
Jonathan Wareham
Hi,

I want to be able to send mail via the PC's default MAPI client using VB.NET
2005 so that I get sent items and the other benefits.  Can anybody suggest
the best way to go about this - are there any native .NET components
available?  I would rather avoid wrapping the VB6 MAPI controls and
obviously need to get around any Outlook style security issues.

Any help appreciated,

Jonathan

Author
24 Feb 2006 8:21 PM
CMM
AFAIK the MAPI ActiveX controls are the way to go. There's no real logical
reason to snub your nose at COM ActiveX stuff... if the framework can't
offer the functionality built-in. I mean, even Visual Studio 2005 itself is
ONE BIG COM application.

There's always the choice of acessing the MAPI API directly... but that's
stupid IMHO considering the ActiveX objects provide a much nicer OO wrapper
around them.

--
-C. Moya
www.cmoya.com