Hi All,
I have created a dynamic send port in BTS to drop the mail attachement.BTS is picking the file but while droping its showing error.
A message sent to adapter "FILE" on send port "ReceiveMail_1.0.0.0_ReceiveMail.MailAccess_SendPort_af83109a15265860" with URI "file://C:\TestingFiles\" is suspended.
Error details: The FILE send adapter cannot open file C:\TestingFiles\ for writing.
Details: The system cannot find the path specified.
I have written the following code for this.
strFilePath = @"C:\TestingFiles\";
System.IO.Directory.CreateDirectory(strFilePath);
SendPort(Microsoft.XLANGs.BaseTypes.Address) = "file://" + strFilePath ;
Any help will be appreciated.