Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB and MAPISendMail

Posted on 1998-04-20
2
Medium Priority
?
267 Views
Last Modified: 2008-02-01
I'd like samples code of mapi programming with vb32(4.0 or 5.0), using mapi32.dll (in particular the MAPISendMail).
0
Comment
Question by:moyer_dave
2 Comments
 
LVL 4

Accepted Solution

by:
zsi earned 150 total points
ID: 1425658
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!

zsi
0
 

Author Comment

by:moyer_dave
ID: 1425659
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.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question