Solved

email MAPI Recipients type ?

Posted on 2001-07-19
1
537 Views
Last Modified: 2008-02-01
how to set cc, bcc in the MAPI email program ?
0
Comment
Question by:Skykeeper
1 Comment
 
LVL 2

Accepted Solution

by:
idorey earned 100 total points
ID: 6297228
Try this

mapMESSAGE.RecipIndex = mapMESS.RecipIndex + 1
mapMESSAGE.RecipType = 2
mapMESSAGE.RecipDisplayName = <Name to add>
mapMESSAGE.ResolveName


Use mapMESSAGE.RecipType = 3 for BCC

ResolveName is not needed, but will alert you to any badly typed email addresses (With an appropriate error trap!)

If you have more than one name, put the names in a list or array and loop through it, adding each one as you go.

Good Luck
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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

17 Experts available now in Live!

Get 1:1 Help Now