Hi All,
My requirement is that BTS will pick the mail with attachements from the inbox and drop the body in the BODY folder and attachments in ATTCHMENT folder which will be created dynamically.
To achieve this
I am using one variable oXMessage and MsgPart as Microsoft.XLANGs.BaseTypes.XLANGMessage and using this i am getting the count of the message.
I am using DECIDE shape to differentiate Body and Attachments,if the count is zero then it is Body and more than Zero means Attachments.
When first time i am getting count =0 then we are creating a dynamic folder (BODY) and droping the body in that folder and second time when count=1 then again it will dynamically create a ATTACHMENTS folder and drop all the attachments in that folder.
Now the problem which i am facing is that whenever BTS is picking the mail with attachments its droping the Body and Attachments in there respective folder but in the Body file there is no contents in it.
And when there is no Attachments in the mail then we are able to see the contents in the Body file.
POP3 Configuration:
MIME Decoder = True
Body Part Content Type =
Body Part Index =0
And when i am assigning Body Part Content Type = text/plain then i am getting the following error:
The MIME decoder cannot find a MIME part for the specified content-type. Either there was no matching content-type or there were not enough occurrences of it.
Can anyone please let me know the solution for this error.
Thanx in advance.