Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MAPI- How to Hide Other Email Recipient's Info
Message
De
28/03/2002 00:17:16
 
 
À
27/03/2002 16:36:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00638132
Message ID:
00638277
Vues:
24
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform