各位先進:
麻煩各位幫忙,
以下程式為何只有sMailaddress2收的到,
而sMailaddress1 收不到呢?
MAPISession1.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.RecipType = mapToList
MAPIMessages1.RecipAddress = sMailaddress1
MAPIMessages1.RecipType = mapCcList
MAPIMessages1.RecipAddress= sMailaddress2
MAPIMessages1.AddressResolveUI = True
MAPIMessages1.ResolveName MAPIMessages1.AttachmentPathName = "c:\jimmy\3.txt"
MAPIMessages1.Send False
MAPISession1.SignOff