This should be simple but I can not get it to work.
I have a file->email scenario.
I am looking in a directory (the error directory) and any files that are present should be emailed as an attachment to the support group (me).
The attachment name should be the same as the name of the original file.
However it always comes in the email as 'untitled.xml'