How to get the email attachment type like XLS or JPG or XML Home Page › Forums › BizTalk 2004 – BizTalk 2010 › How to get the email attachment type like XLS or JPG or XML This topic has 1 reply, 1 voice, and was last updated 9 years, 10 months ago by community-content. Viewing 1 reply thread Author Posts June 11, 2008 at 10:54 PM #19904 community-content Hi, I am working with POP3 adapter getting the Email with XLS and JPG attachments. Based on the attachment i need to do the following process. so how to find out the attachment type whether the attachment is XLS or JPG If any help it would be great. June 12, 2008 at 4:41 AM #19907 community-content You could try one of these properties on the attachment part of the multipart message: Message.AttachmentPart(Microsoft.XLANGs.BaseTypes.ContentType) or Message.AttachmentPart(MIME.FileName) But you are relying on the sender setting either the content-type or file name appropriately Author Posts Viewing 1 reply thread The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies. Log in / Register