BizTalk Server Orchestration - SMTP attachment In Biztalk 2004

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2004 > SMTP attachment In Biztalk 2004





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SMTP attachment In Biztalk 2004
Vijen

2004-06-20, 11:09 pm

Hi ,
I am using A Custom Pipeline having MIME encoder to send an email
msg using SMTP adapter.. How can I specify the FileName for attachment
..

Biztalk Help It reads
ms-help://BTS_2004/SDK/htm/ebiz_prog_pipe_mbbl.htm.. The MIME/SMIME
Encoder also uses the following part properties from the System
namespace.
Property Type Description
ContentType xs:string Corresponds to the
Content- Type header of the
generated MIME/SMIME Part.

FileName xs:string Corresponds to the
file name.

I don't how to use this File Name Property...
Anybody has any idea..

Thanks
Vijen
Nikolai @ intergen.co.nz

2004-06-26, 10:53 am

Have a look at these samples for infopath and attachments. There are code samples for the SMTP utilities etc that you need to use to set the file name.

http://weblogs.asp.net/scottwoo/arc.../19/116298.aspx
http://home.comcast.net/~sdwoodgate...rverSamples.zip

Basically you only need to use the following line of code to set the file

SMTPUtils.Part.SetFileName(SMTPMessageOut,"CustFilename" + System.DateTime.Now.ToString("ddMMyyyy") + ".xml");


"Vijen" wrote:

> Hi ,
> I am using A Custom Pipeline having MIME encoder to send an email
> msg using SMTP adapter.. How can I specify the FileName for attachment
> ..
>
> Biztalk Help It reads
> ms-help://BTS_2004/SDK/htm/ebiz_prog_pipe_mbbl.htm.. The MIME/SMIME
> Encoder also uses the following part properties from the System
> namespace.
> Property Type Description
> ContentType xs:string Corresponds to the
> Content- Type header of the
> generated MIME/SMIME Part.
>
> FileName xs:string Corresponds to the
> file name.
>
> I don't how to use this File Name Property...
> Anybody has any idea..
>
> Thanks
> Vijen
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com