Ravindar, Biztalk Developer and Administrator

Just another BizTalk blog

Save mail attachement with its original name

suppose if you are accessing a mail from a mail server through POP3 adapter and suppose that the mail has an attachement and you want to extract it and save it to a file location with its original name specified in the mail attachment,

then follow this

Get the n’th part and set to a new message
Out = oXMessage[n];

// Set message properties
Out(FILE.ReceivedFileName) = Out(MIME.FileName);

http://geekswithblogs.net/sthomas/archive/2006/08/08/87439.aspx

http://connectedpawns.wordpress.com/2009/02/20/splitting-email-attachments-from-the-mime-decoder-instead-of-the-pop3-adapter/

Advertisements

October 15, 2010 - Posted by | Biztalk Server

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: