Solved

VB and MAPISendMail

Posted on 1998-04-20
2
247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

734 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