VB6. I am using MAPI to send an Email along with a small text file. For some reason when I send an Email without the attachment it works fine. However when I send an attachment I get an unspecified error(32002). Anyone else run into this???


'*****************
A.MAPISession1.signon

With A.MAPIMessages1
.MsgIndex = -1
.RecipDisplayName = "[email protected]
.MsgSubject = "Subject"
.MsgNoteText = "MessageText"
.AttachmentName = "TEST.TXT"
.AttachmentPathName = "C:\Windows\Temp\TEST.TXT"
.SessionID = A.MAPISession1.SessionID
.Send
End With

A.MAPISession1.SignOff