Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPI- How to Hide Other Email Recipient's Info
Message
From
28/03/2002 00:17:16
 
 
To
27/03/2002 16:36:25
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00638132
Message ID:
00638277
Views:
27
>I am trying to have my application to send an email to a list of recipients. However, I do not want other recipients' info shown on every recipient's email. How can I do that?
>
>My application works this way: clicking an email button launches outlook express with a list of recipients assigned. Is there any way I can tell MAPIMessages control to hide other recipient's information in each recipient's email? I do not want to use send method multiple times (one for each recipient).
>
>Thanks in advance.

You can set the RecipType property to 2 to CC the email.

sample code
-----------
WITH oMessage
.sessionid = oSession.sessionid
.Compose
.msgsubject = "MAPI EMail Testing"
.msgnotetext = "MAPI EMail Testing"

.RecipIndex = 0
.RecipType = 1
.RecipAddress = "email1@yahoo.com"
.RecipDisplayName = "Name1"

.RecipIndex = 0
.RecipType = 2
.RecipAddress = "email2@yahoo.com"
.RecipDisplayName = "Name2"

.RecipIndex = 0
.RecipType = 2
.RecipAddress = "email3@yahoo.com"
.RecipDisplayName = "Name3"

.Send(1)
ENDWITH

Hope this will help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform