I have been using this in one of my solutions for a long time; recently I have experienced an issue with the filename when trying to create the attachment on the SD ticket.
My PA solution processes inbound email and any attachments on the email, creates or updates a ServiceDesk ticket and adds any attachments to the ticket.
When the process reads the email it grabs any attachments and writes them to a local folder for use later in the process.
I have had a couple of instances where the filename of the email attachment has a semi-colon in it, this is a valid filename character.
e.g. "Master Abwesenheitshinweis.doc;jsessionid=C47FFE38B48D81AE0B541AC07BEF34D0.doc"
Now when this gets passed into the SOAP Operater as part of the mime attachments settings the filename gets truncated after the semi-colon.
It seems to see the semi-colon as a seperator.
I have tried enclosing the filename in quotes and url encoding the semi-colon but this doesn't help.
It just errors saying it cannot find the file in the local folder, this is because it is now looking for the wrong filename.
Any ideas?
The only thing I can think of is:
-
Test each saved file for troublesome characters such as ";"
-
Replace those characters with an underscore.
-
allow the SD attachment process to run as is now that the reson for the error has been removed.
I don't really like modifying the incoming content as the attachment may have been referred to in the body of the email and so could cause some confusion for the desk agents.