Re: Issue with POP3 and file attachments
- From: <peccleston@xxxxxxxxxx>
- Date: Thu, 19 Mar 2009 15:46:18 -0400
POP3 is doing the mime encoding. We have even tried using a custom pipeline and looking thru the message and that itself also does not get the original filename.
Paul
"news.microsoft.com" <Joerg Fischer> wrote in message news:Omih7iMqJHA.5880@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
So, is the POP3 adapter doing the MIME processing or are you using a receive pipeline with the MIME decode in place?
Regards
Joerg Fischer
BizTalk MVP
<peccleston@xxxxxxxxxx> schrieb im Newsbeitrag news:DE034A00-FC0E-4D2F-A3A5-2A8A93E5F07F@xxxxxxxxxxxxxxxxThanks Joerg - but it's not missing, we are consuming around 8000 emails a week, around 45% of them Biztakl doesn't show the correct filename even though it's in the message.
On the web I've seen this issue mentioned a lot with no resolution.
"news.microsoft.com" <Joerg Fischer> wrote in message news:ejbJGZAqJHA.4516@xxxxxxxxxxxxxxxxxxxxxxxHi,
Maybe the filename is missing in the original mail? It is strictly speaking not mandatory in a MIME multipart element.
Regards
Joerg Fischer
BizTalk MVP
<peccleston@xxxxxxxxxx> schrieb im Newsbeitrag news:365DFCBD-ABA4-4B5B-8195-4FBB6F0431F9@xxxxxxxxxxxxxxxxHi
We have a biztalk orchestation and C# helper to retrive email via POP, store the attachments in a database, and forward the email to a different email address using SMTP.
Almost working great, except for no reason we can fathom the file attachment name will suddently be what looks like a GUID rather than a filename.
Here is a snippet of our C# code which is causing the issue. Partname usually contains the filename, but sometimes it doesn't!
Thanks
Paul
foreach (Microsoft.XLANGs.BaseTypes.XLANGPart xpart in x)
{
partName = xpart.Name;
partName = partName.ToUpper();
biztalkStream = (Stream)xpart.RetrieveAs(typeof(Stream));
.
- Follow-Ups:
- Re: Issue with POP3 and file attachments
- From: news.microsoft.com
- Re: Issue with POP3 and file attachments
- References:
- Issue with POP3 and file attachments
- From: peccleston
- Re: Issue with POP3 and file attachments
- From: news.microsoft.com
- Re: Issue with POP3 and file attachments
- From: peccleston
- Re: Issue with POP3 and file attachments
- From: news.microsoft.com
- Issue with POP3 and file attachments
- Prev by Date: Re: Issue with POP3 and file attachments
- Next by Date: Re: Issue with POP3 and file attachments
- Previous by thread: Re: Issue with POP3 and file attachments
- Next by thread: Re: Issue with POP3 and file attachments
- Index(es):
Relevant Pages
|