MAPI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to use MAPI in a vb.net 2003 application. I find that I need the
Active X control MSMAPI32.ocx. If I install IIs, will this be included? I
read that VB6 includes this control but not sure if IIs does?
 
I don't think IIS installs this. Why would it? But even its installed, it
doesn't mean that you can develop against it.... license restrictions might
demand that you have VB6 installed to develop against it (even if you only
plan on using it from .NET).

I'm sure its at least a "redistrubutable" file... you may find it in MS's
old FTP site (ftp.microsoft.com) (they have a lot VB ocs's stuff in there)
or at InstallShield's MSI objects site.
 
Dennis said:
I am trying to use MAPI in a vb.net 2003 application.

Why? MAPI is one of those things that Our Friends in Redmond keep
breaking with their Security "enhancements".

If you're trying to /send/ message, look at the System.Web.Mail
NameSpace.

If you're trying to read /incoming/ messages, that's a little more
complicated, but still quite do-able. I've used sockets to access mail
servers using the POP3 protocol; it's not /that/ fiddly.

HTH,
Phill W
{cr}{lf}.{cr}{lf}
 
Thanks. I'll give it a try. In some of the microsoft documentation, they
state that the control must either be on the target computer of the
applicaiton or can be redistributed. I am assuming that a license in VB7
will suffice to distribute. I'm sure someone in Microsoft will correct me if
I'm wrong.
 
What I'm really looking for is something that will accomplish the following:

Start a user's default mail editor so the user can use his address for
selecting a "Send To"

Allow me to attach a file to the user's default mail editor or Display the
body text that is HTML coded

I tried the "MailTo" and it does start the user's default editor but doesn't
allow attaching files nor does it allow body text even with carriage returns
let alone HTML coded body text.
 
Yes, again, msmapi32.ocx is *exactly* what you want. However, I don't know
if some current E-mail apps conform to the mapi standard... for instance,
I'm not sure if Thunderbird does. I'd be (pleasantly) surprised if it does.
 
Back
Top