Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: retrieve attachment extension
kabin_k

From: bangalore, India
Posts: 15
Member Since: 03/08/04
posted April 13, 2004 5:15 AM

Hi,

Is there by any way I can retrieve the attachment name and its extension seperately.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 13, 2004 8:30 AM

I don't understand. The extension is part of the filename. Can't you can just get from there?
kabin_k

From: bangalore, India
Posts: 15
Member Since: 03/08/04
posted April 13, 2004 8:51 AM

Ho can I retrieve the file name, from there I can split it
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 13, 2004 8:54 AM

The filename is a property of the Part object:

Part.File

kabin_k

From: bangalore, India
Posts: 15
Member Since: 03/08/04
posted April 13, 2004 8:56 AM

Can u please expalin me using this with some samples in c#
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 13, 2004 9:01 AM

I don't have a C# sample, but the toolkit ships with a VB.NET sample that should help. Take a look at the DisplaySubPart method of Message.vb

That's where we display the name of the file.
kabin_k

From: bangalore, India
Posts: 15
Member Since: 03/08/04
posted April 13, 2004 9:04 AM

is the smaple located under pop client or imap client
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 13, 2004 9:05 AM

Please see my last response in the other thread.
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX