ASP.NET opening email attachements -


i have asp.net web forms application pulls email imap account. using imap control nsoftware ip*works pull emails. in order download , save attachments 1 this...

for (int part = 0; part < imaps1.messageparts.count; part++) {     if (imaps1.messageparts[part].filename.length > 0)     {         imaps1.localfile = "c:\\users\\someguy\\documents\\" + imaps1.messageparts[part].filename;         imaps1.fetchmessagepart(imaps1.messageparts[part].id);     } } 

but don't want downloaded; want attachment open.

how that?

thanks!

you need save attachment contents response.outputstream rather file on disk.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -