Saritha,
The content type reflects the type of the data or content of the file that you are attaching, so that it may be handled by an appropriate handler when opened. It depends on the type of file you are attaching, for example:
Simple text file… text/plain
XML file… text/xml
MS Excel file… application/vnd.ms-excel
Filename should be the name that you want the recipient of the mail to see in the attachment. Let’s say you are attaching an xml file that serves the purpose of an error report, you may use Content-Type=‘text/xml’ and the Filename=‘errorReport.xml’
HTH, Rohit
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services