• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

VB and MAPISendMail

I'd like samples code of mapi programming with vb32(4.0 or 5.0), using mapi32.dll (in particular the MAPISendMail).
1 Solution
There is a very nice sample program that comes with VB 4 and 5 that shows you how to write a complete mail program.  That should help you find the answers that you are looking for.

It is in the samples\mapi directory.

It incorporates the MAPI controls that ship with VB but all that they do is wrap the MAPI32.DLL.

If you want, you can explicitly declare and invoke the DLL functions, but you may find that the MAPI OCXs suit your needs.  If not, reject this answer, state what you specifically want to achieve, and I will answer it for you.

Hope this helps!

moyer_daveAuthor Commented:
Thanks.  I'll check out the code.  I do have some code from other sources.  I can obtain a session from the MAPILogon, but have not successfully called the MAPISendMail.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now