I am very grateful for your tnef decoding work, but I am not sure that I understand the errors that I get using it.
For example, with a simple winmail.dat file - being a message and no embedded attachment:
$ ytnef -f -H -F -v . winmail.dat
Attempting to parse ....
ERROR: Error reading signature
Attempting to parse winmail.dat...
Aid Owner: [4]
Request Response: [2]
ERROR: Error writing -H/FILENAME_1.pdf to disk!
ERROR: Error writing -H/FILENAME_2.pdf to disk!
ERROR: Error writing -H/FILENAME_3.pdf to disk!
$ echo $?
253
It seems that I receive an error with almost any use of the +-H and/or the +-F flags, and the files are not extracted.
I am not entirely sure that I know what the H and F flags are supposed to do, I thought that they would write out the email message in HTML or RTF format, but surely they should not fail to extract the attachment if the -f flag is present?
I am very grateful for your tnef decoding work, but I am not sure that I understand the errors that I get using it. For example, with a simple winmail.dat file - being a message and no embedded attachment:
Same file
And now a winmail.dat file with three embedded attachments:
Same file
It seems that I receive an error with almost any use of the +-H and/or the +-F flags, and the files are not extracted.
I am not entirely sure that I know what the H and F flags are supposed to do, I thought that they would write out the email message in HTML or RTF format, but surely they should not fail to extract the attachment if the -f flag is present?