| 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
>
|