Solved

VB and MAPISendMail

Posted on 1998-04-20
2
241 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 50 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now