snehakevin
Technical User
I am using the following code to send documents through mails.....
MAPISession1.LogonUI = True
MAPISession1.SignOn
MAPMess.SessionID = MAPISession1.SessionID
MAPMess.Compose
MAPMess.RecipAddress = "mailid@xxxxx.com"
MAPMess.ResolveName
MAPMess.MsgSubject = "Testing Email"
MAPMess.MsgNoteText = "message in the body"
MAPMess.AttachmentPathName = "filename to be sent"
MAPMess.Send False
MAPISession1.SignOff
This works fine but I need to zip the file and attach.
How to do this? Please help
MAPISession1.LogonUI = True
MAPISession1.SignOn
MAPMess.SessionID = MAPISession1.SessionID
MAPMess.Compose
MAPMess.RecipAddress = "mailid@xxxxx.com"
MAPMess.ResolveName
MAPMess.MsgSubject = "Testing Email"
MAPMess.MsgNoteText = "message in the body"
MAPMess.AttachmentPathName = "filename to be sent"
MAPMess.Send False
MAPISession1.SignOff
This works fine but I need to zip the file and attach.
How to do this? Please help