Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: mimetype and attachmentstate |
kabin_k From: bangalore, India Posts: 15 Member Since: 03/08/04 |
posted April 13, 2004 3:05 AM how can I retrieve the mime type and attachment state of a mail received with attachments |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 13, 2004 8:39 AM The Type of a message or part can be found by looking at the header: Dim s as string s = Header.Find(msgContentType) |
kabin_k From: bangalore, India Posts: 15 Member Since: 03/08/04 |
posted April 13, 2004 9:00 AM I tried this way MessageStream objMsgStream = objMsg.Message; objEmail.Message = objMsgStream.Text.ToString(); objEmail.Subject = objMsgStream.Subject; objEmail.ReceivedOn = DateTime.Today; i tried with objMsg(Popmessage).message.Header but coudnt find "Header.Find" in it, is this the correct approach or can u pls expalin me with some samples in c# |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 13, 2004 9:04 AM This looks like code from the Mail for .NET product. You are currently posting in the ActiveX Mail Tool forum so all of my answers to your other questions were assuming that you were using the Mail Tool. I encourage you to take a look at the C# POP or IMAP sample. There is a lot of code in there that should help you. If you have further questions, please post in the Mail for .NET forum. |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
![]() |