The Given file path is accepted by ordinary Processing which is run in server(while mail sending).
eg: “AXAPTASYS\\D:\\foldername\\filename.pdf” (assume that AXAPTASYS is a computer name)
But while Batch Processing ,
The error ‘Target file should be in UNC format’ occurs.
The solution is,
instead of using the following path ,
“AXAPTASYS\\D:\\foldername\\filename.pdf”
This is not an UNC path.
we can use the following.
@”AXAPTASYS\D$\foldername\filename.pdf” .