E
Eric van der Niet
Hello,
Hope someone can help. Im using this code to send a mail to some of my
clients:
Set Outmail = ActiveDocument.MailEnvelope.item
With Outmail
.Subject = InputBox("Voer hier het onderwerp van de email in:",
"Onderwerp")
End With
Dim Message, Title, Default, MyValue
Message = "Naar welk type emailadressen wilt u de e-mail versturen" & vbCr &
"1 - Zakelijke emailadressen" & vbCr & "2 - Privé emailadressen" & vbCr &
"3 - Privé & Zakelijke emailadressen"
Title = "Selecteer type emailadressen"
MyValue = InputBox(Message, Title)
Select Case MyValue
Case 1
With rstTemp
While Not .EOF
If rstTemp.Fields("email priv") <> "" Then
Outmail.AddRecipient rstTemp.Fields("email priv")
lijst = rstTemp.Fields("email priv")
enz.enz
You can see im using the AddRecipient method to add recepients to the To
list. My question is: How can i add adresses to the BCC field, I don't want
that my customers can see each others emailadresses... Hope someone can
help..
Eric van der Niet
Hope someone can help. Im using this code to send a mail to some of my
clients:
Set Outmail = ActiveDocument.MailEnvelope.item
With Outmail
.Subject = InputBox("Voer hier het onderwerp van de email in:",
"Onderwerp")
End With
Dim Message, Title, Default, MyValue
Message = "Naar welk type emailadressen wilt u de e-mail versturen" & vbCr &
"1 - Zakelijke emailadressen" & vbCr & "2 - Privé emailadressen" & vbCr &
"3 - Privé & Zakelijke emailadressen"
Title = "Selecteer type emailadressen"
MyValue = InputBox(Message, Title)
Select Case MyValue
Case 1
With rstTemp
While Not .EOF
If rstTemp.Fields("email priv") <> "" Then
Outmail.AddRecipient rstTemp.Fields("email priv")
lijst = rstTemp.Fields("email priv")
enz.enz
You can see im using the AddRecipient method to add recepients to the To
list. My question is: How can i add adresses to the BCC field, I don't want
that my customers can see each others emailadresses... Hope someone can
help..
Eric van der Niet