I have an MSMAPI routine in an application to automatically send e-mail with a single file attachment. I'm really stumped because this routine works with Windows Messaging and Outlook97, but NOT with Outlook 2000. The program stops with a dialog box as follows:
Program Error
OLE | Dispatch exception code 0 from MAPIMessages:
Attachment not found. - Cancel - Ignore - Help
I have tried various ways to fix this problem, including using AttachmentPosition, AttachmentIndex, and using AttachmentPathname very spcifically by including SYS(5) + CURDIR() + filename.
I have also checked the Microsoft Support Knowledge Base for the error, but came up with nothing specific to my problem.
Would appreciate any help. TIA, Chuck
Chuck Henry