I would like to send an email to 2 recipients using the Mapi controls.
I have tried with the semi-colon seperating the two addrersses (see below) but this soes not work.
NOTE: I don't want to use a loop as I want both recipients to see that the other person has received it.
MAPISession1.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.RecipAddress = "test@mailserver.com; test@mailserver.com"
MAPIMessages1.AddressResolveUI = True
MAPIMessages1.ResolveName
MAPIMessages1.MsgSubject = "Test Mail"
MAPIMessages1.MsgNoteText = "Please Read Test mail"
MAPIMessages1.Send
MAPISession1.SignOff
Any suggestions would be greatly appriciated!
Thanks in advance
MattN
I have tried with the semi-colon seperating the two addrersses (see below) but this soes not work.
NOTE: I don't want to use a loop as I want both recipients to see that the other person has received it.
MAPISession1.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.RecipAddress = "test@mailserver.com; test@mailserver.com"
MAPIMessages1.AddressResolveUI = True
MAPIMessages1.ResolveName
MAPIMessages1.MsgSubject = "Test Mail"
MAPIMessages1.MsgNoteText = "Please Read Test mail"
MAPIMessages1.Send
MAPISession1.SignOff
Any suggestions would be greatly appriciated!
Thanks in advance
MattN