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:23:07
 
 
To
28/03/2002 00:17:16
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00638132
Message ID:
00638278
Views:
21
>>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 = 1
> .RecipType = 2
> .RecipAddress = "email2@yahoo.com"
> .RecipDisplayName = "Name2"
>
> .RecipIndex = 2
> .RecipType = 2
> .RecipAddress = "email3@yahoo.com"
> .RecipDisplayName = "Name3"
>
> .Send(1)
>ENDWITH
>
>Hope this will help.
Previous
Reply
Map
View

Click here to load this message in the networking platform