| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: How Do I Read Single Message Corresponding to the Subject |
| Achal Gaggar From: Mumbai, India Posts: 8 Member Since: 09/06/03 |
posted September 19, 2003 2:00 AM Dear Sir, Thanks For Your Previous Guidance Now I am able To Read all the messages & text in the mail. -------------------------------------------------- I have made an asp page which specifically Reads The mail Text on clicking over the Subject in my Previous Asp Page The Code for the Page is: <% Dim Pop1 Set Pop1 = Server.CreateObject("Dart.Pop.1") Pop1.Login "127.0.0.1", Session("Username"), Session("Password") Pop1.AttachmentDirectory = "" Const msgDate = 26 Const MsgNum = 1 Pop1.Get msgContent,MsgNum Dim Msg Set Msg = Pop1.Messages(MsgNum) Pop1.Logout Response.Write "Date: " & Msg.Header.Find(msgDate) & "<br>" & vbcrlf Response.Write "From: " & Msg.From & "<br>" & vbcrlf Response.Write "Subject: " & Msg.Subject & "<br>" & vbcrlf Response.Write "Message: " & Msg.PartList(1).data & "<br>" & vbcrlf ' Response.Write "Attachment: " %> -------------------------------------------------- When the page loads it successfully gives the required output But only specific to the "MsgNum" i.e MessageNumber mentioned in this code How do I connect the Subject displayed on the previous page to its corresponding message text in this asp page And also how do i display the attachment received in the mail and read it into another asp page Please Help me out Thanking You Achal Gaggar -------------------------------------------------- |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 19, 2003 8:32 AM Please see the sample POP client on our web site. Hopefully that will give you some ideas: http://www.dart.com/samples/pop.asp |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|