Did some testing and found this?
Did a test. Sent myself a message with 17K pdf file.
Have this line added to VIEWER.PM
2;application/octet-stream;.pdf;-
Copied the original CNM file to A.CNM and copied lines form original message
diff shows.
44c44
< X-PMFLAGS: 570957824 0 1 P49MVR3B.CNM
---
> X-PMFLAGS: 570957824 0 1 A.CNM
84,86c84,87
< Content-type: Application/Octet-stream; name="outlook.pdf"; type=PDF-FILE
< Content-disposition: attachment; filename="outlook.pdf"
< Content-transfer-encoding: BASE64
---
> name=UTF-8''Geb%C3%A4ude.pdf
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename=UTF-8''Geb%C3%A4ude.pdf
Withe the A.CNM was able to save the attachment But it used the name - for the attachment?
Perhaps the ;- in VIEWER.PM line?
Created a B.CNM file the these changes to lines.
Changing the file name to the to the UTF8 name
Saving or opening worked.
diff output
44c44
< X-PMFLAGS: 570957824 0 1 P49MVR3B.CNM
---
> X-PMFLAGS: 570957824 0 1 B.CNM
84,85c84
< Content-type: Application/Octet-stream; name="outlook.pdf"; type=PDF-FILE
< Content-disposition: attachment; filename="outlook.pdf"
---
> Content-type: Application/Octet-stream; name=UTF-8''Geb%C3%A4ude.pdf; type=PDF-FILE
86a86
> Content-disposition: attachment; filename=UTF-8''Geb%C3%A4ude.pdf
The created saved files gave.
17757 Apr 15 22:00 -
17757 Apr 15 22:07 UTF-8''Geb%C3%A4ude.pdf
Original file
17757 Oct 2 2024 outlook.pdf
Did some testing and found this?
````
Did a test. Sent myself a message with 17K pdf file.
Have this line added to VIEWER.PM
2;application/octet-stream;.pdf;-
Copied the original CNM file to A.CNM and copied lines form original message
diff shows.
44c44
< X-PMFLAGS: 570957824 0 1 P49MVR3B.CNM
---
> X-PMFLAGS: 570957824 0 1 A.CNM
84,86c84,87
< Content-type: Application/Octet-stream; name="outlook.pdf"; type=PDF-FILE
< Content-disposition: attachment; filename="outlook.pdf"
< Content-transfer-encoding: BASE64
---
> name=UTF-8''Geb%C3%A4ude.pdf
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename=UTF-8''Geb%C3%A4ude.pdf
Withe the A.CNM was able to save the attachment But it used the name - for the attachment?
Perhaps the ;- in VIEWER.PM line?
Created a B.CNM file the these changes to lines.
Changing the file name to the to the UTF8 name
Saving or opening worked.
diff output
44c44
< X-PMFLAGS: 570957824 0 1 P49MVR3B.CNM
---
> X-PMFLAGS: 570957824 0 1 B.CNM
84,85c84
< Content-type: Application/Octet-stream; name="outlook.pdf"; type=PDF-FILE
< Content-disposition: attachment; filename="outlook.pdf"
---
> Content-type: Application/Octet-stream; name=UTF-8''Geb%C3%A4ude.pdf; type=PDF-FILE
86a86
> Content-disposition: attachment; filename=UTF-8''Geb%C3%A4ude.pdf
The created saved files gave.
17757 Apr 15 22:00 -
17757 Apr 15 22:07 UTF-8''Geb%C3%A4ude.pdf
Original file
17757 Oct 2 2024 outlook.pdf
````
mikes@guam.net