Hi,
One of our users is receiving enquiries from a customer in PDF format. In the user’s personal mailbox, the mail looks fine and the PDF can be opened without problems. However, we have a function to copy the mail to another Notes database. When the user runs that function, the attachment is changed to C.dat when it reaches the other database.
I’ve debugged the script, and it seems like the source document (in the user’s mail file) already lists the attachment as C.dat when it is opened. So regardless of how I copy the document (I’ve tried CopyAllItems, copying each item individually, and getting the rich-text item and using AppendRTItem) the result is a C.dat attachment.
I assume that the Notes client is converting things on-the-fly somewhere… But is there any way I can access the converted data with script? Right now the only options I can give the user is to either:
-
forward the mail to herself, and then it can be copied correctly with the standard function, or
-
manually copy-paste the body field after the “failed” copy
One other thing to note… I tried converting the C.dat attachment after it was copied, but it doesn’t seem to be a valid TNEF attachment.
-Bruce