Problem:

Customer was having a problem when trying to run the following command (modified for general use):
 
OFCRUNPC RMTSYS(*CURRENT) CMD('NEWMAIL~[email protected]~ ~ ~Our Test Email~ ~C:\TEMP\Test.txt~1~1')  OPTION(*OTHER)
 
They received Error 32002 "Unspecified Error" from Outlook on their PC.
 

Solution:

When adding an attachment via this command, Outlook will error if the message body is empty.  Since we strip leading and ending white space, the message body (6th parameter) shows up as an empty string, causing Outlook to return error 32002.  The user MUST enter some sort of text into this field when adding an attachment.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: February 07, 2021