Ganesh Bala
March 29th, 1999, 05:26 PM
I am trying to attach a text file to my email.
When I execute MAPI.Send Statement I get the following
******
Run-time error '32002'
Unspecified failure has occurred
*****
The following the Code
*****
ls_FileName = "c:\temp\gbtest1.cmd"
MAPIMsg.AttachmentIndex = MAPIMsg.AttachmentCount
MAPIMsg.AttachmentName = Dir(ls_FileName)
MAPIMsg.AttachmentPathName = ls_FileName 'Left(ls_FileName, InStr(ls_FileName, Chr(0)))
MAPIMsg.AttachmentPosition = MAPIMsg.AttachmentIndex
******
If anybody has experienced this problem and fixed it please reply
Thank you
Ganesh
When I execute MAPI.Send Statement I get the following
******
Run-time error '32002'
Unspecified failure has occurred
*****
The following the Code
*****
ls_FileName = "c:\temp\gbtest1.cmd"
MAPIMsg.AttachmentIndex = MAPIMsg.AttachmentCount
MAPIMsg.AttachmentName = Dir(ls_FileName)
MAPIMsg.AttachmentPathName = ls_FileName 'Left(ls_FileName, InStr(ls_FileName, Chr(0)))
MAPIMsg.AttachmentPosition = MAPIMsg.AttachmentIndex
******
If anybody has experienced this problem and fixed it please reply
Thank you
Ganesh