Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB and MAPISendMail

Posted on 1998-04-20
2
Medium Priority
?
259 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 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

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.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…
Suggested Courses

722 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