P
Peter Wullems
I use XP Pro with service pack 2 installed and Office 2003 (and Outlook) all
of which is kept fully up to date with Automatic updates.
I use C# to read mail received, generate emails responses for certain
messages and content and add attachments, and then save to the Outlook
Drafts folder where I can review the emails before deciding if to send them.
The app is a console application which is run at defined intervals. On a
daily basis it can generate up to about 200 emails.
Part way through a recent run, I got the following error:
Can't create file: filename.doc. Right-click the folder you want to create
the file in, and then click Properties on the shortcut menu to check your
permissions for the folder.
Now even if I manually open an email and want to attach a file, I get the
same issue.
The question is where is the folder for a MailItem when it has not yet been
placed in a folder? That always presupposes that the message is not
misleading.
As a workaround I copied the contents of the file to a new file and I had no
problems attaching that file. I checked the permissions for the original
file and they are unrestricted. Something somewhere must be marking this
file as a rogue file not to be attached.
Where? How? How can I undo that?
cheers
Peter Wullems
of which is kept fully up to date with Automatic updates.
I use C# to read mail received, generate emails responses for certain
messages and content and add attachments, and then save to the Outlook
Drafts folder where I can review the emails before deciding if to send them.
The app is a console application which is run at defined intervals. On a
daily basis it can generate up to about 200 emails.
Part way through a recent run, I got the following error:
Can't create file: filename.doc. Right-click the folder you want to create
the file in, and then click Properties on the shortcut menu to check your
permissions for the folder.
Now even if I manually open an email and want to attach a file, I get the
same issue.
The question is where is the folder for a MailItem when it has not yet been
placed in a folder? That always presupposes that the message is not
misleading.
As a workaround I copied the contents of the file to a new file and I had no
problems attaching that file. I checked the permissions for the original
file and they are unrestricted. Something somewhere must be marking this
file as a rogue file not to be attached.
Where? How? How can I undo that?
cheers
Peter Wullems