I am trying to attach more than one file to the an email using the MappiSession objects. My code looks like this...
MAPISession1.LogonUI = True
MAPISession1.SignOn
MAPMess.SessionID = MAPISession1.SessionID
MAPMess.Compose
MAPMess.RecipAddress = "emailaddress"
MAPMess.ResolveName
MAPMess.MsgSubject = "Testing Email"
MAPMess.AttachmentPathName = "c:\test1.txt"
MAPMess.AttachmentPathName = "c:\test2.txt"
MAPMess.Send False
MAPISession1.SignOff
This code overwrites the first attachment with the second.
Any suggestions?
Thanks.
MAPISession1.LogonUI = True
MAPISession1.SignOn
MAPMess.SessionID = MAPISession1.SessionID
MAPMess.Compose
MAPMess.RecipAddress = "emailaddress"
MAPMess.ResolveName
MAPMess.MsgSubject = "Testing Email"
MAPMess.AttachmentPathName = "c:\test1.txt"
MAPMess.AttachmentPathName = "c:\test2.txt"
MAPMess.Send False
MAPISession1.SignOff
This code overwrites the first attachment with the second.
Any suggestions?
Thanks.