davtoche
asked on
using mapi with visual basic
how do i send mail messages with the mapi controls to many recipient at a time using the BCC (other people don't see to whom the mail has been sent?)
thx
David
thx
David
ASKER
Thank you very much
Great!!
Great!!
ASKER
how do i type :
MAPIMessages.RecipAddress = "TestUser@somewhere.com"
to have a list of recipients?
MAPIMessages.RecipAddress = "TestUser@somewhere.com"
to have a list of recipients?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thnk you ranger2
i didn't try but i'm sure it'll work
Talk to you soon for sthing else
David
i didn't try but i'm sure it'll work
Talk to you soon for sthing else
David
can we sent the mail to,cc,bcc recipient at same time
I use the MAPIMessages control.
Once I have entered the recipients I want to send the message to, I then use RecipType = 3
Example:
MAPISession1.LogonUI = False
MAPISession1.UserName = "MICROSOFT OUTLOOK"
MAPISession1.SignOn
MAPIMessages.SessionID = MAPISession1.SessionID
MAPIMessages.Compose
MAPIMessages.RecipDisplayN
MAPIMessages.RecipAddress = "TestUser@somewhere.com"
MAPIMessages.ResolveName
MAPIMessages.RecipType = 3 '<***** This is Bcc *******
MAPIMessages.MsgSubject = "test!"
'Create the message
MAPIMessages.MsgNoteText = strEmailMessage
MAPIMessages.Send False
MAPISession1.SignOff
The 3 is "Bcc"
2 is "cc"
1 is "To"
Later...