Solved

mapi interface

Posted on 1999-01-13
4
248 Views
Last Modified: 2013-12-25
I need a mapi interface or the way to envoke it so I can use the autodialer to dial and mail pictures from one place to another.

TIA
0
Comment
Question by:csindorf
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
RichardE earned 100 total points
Comment Utility
MAPI is fairly simple to use. Here is code that I use in a large project that handles EMail. Just add the MAPI session and MAPI Message controls to your app and name them like I did. GOOD LUCK!
Read the help on MAPI to get the command for attaching your picture files.

mpsSession.SignOn
mpmMessage.SessionID = mpsSession.SessionID
mpmMessage.Compose
mpmMessage.RecipAddress = "EMAIL ADDRESS HERE"    mpmMessage.MsgSubject = "Subject text here"
mpmMessage.MsgNoteText = Text1     'Assumes Text1 has message
mpmMessage.Send False

0
 

Author Comment

by:csindorf
Comment Utility
I am really in a bind here.  This part of VB is real new to me and I am having trouble getting it to work.  Could you please show me a simple set of code to open MAPI and attach the folder c:\pictures to the email address that is selected in the "address" listbox.  This will happen when the user clicks the "send pictures" command button.  What this program does(supposed to) is when the user selects the folder and a name in the list box the persons email address(not displayed) is to be sent to the MAPI and that folder of pictures is attached to an email message and sent.  the subject of the message will be read in from text3.  I hope this is enough to answer any questions.  but let me know if you need more.

TIA
0
 

Author Comment

by:csindorf
Comment Utility
that got me started and I found the rest I needed.  thanks
0
 
LVL 1

Expert Comment

by:RichardE
Comment Utility
I knew you would !
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

743 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

15 Experts available now in Live!

Get 1:1 Help Now