| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: Re : Still Not Figured it out |
| Achal Gaggar From: Mumbai, India Posts: 8 Member Since: 09/06/03 |
posted September 13, 2003 12:37 AM Sir i have seen the example You have given in ASP I used the Sample code that you had given on the Viewscript but it seems to not be working on my computer offline i hav changed the ip address of the dns server to that of mine in the office I also used this code to retrieve the mail and i was partially successful but was not able to read the message text. The code is a s below --Aspmail.asp <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=unicode" http-equiv=Content-Type> <META content="Microsoft FrontPage 4.0" name=GENERATOR></HEAD> <BODY> <form action="ReadMail.asp" method="post"> <P align=center><FONT face="Century Gothic" size=5><b>Welcome To etlflash.net</b></FONT></P> <P style="line-height: 100%; word-spacing: 0; margin-top: 0; margin-bottom: 0"><font face="Century Gothic">Email Address : <INPUT id= Userid name= userid>(Enter You Email Address as <i><u>Rahul@etlflash.net</u></i>)</font></P> <P style="line-height: 100%; word-spacing: 0; margin-top: 0; margin-bottom: 0"> </P> <P style="line-height: 100%; word-spacing: 0; margin-top: 0; margin-bottom: 0"><font face="Century Gothic">Your Password : <INPUT id=password name=password type=password></font></P> <P><font face="Century Gothic"><INPUT id=submit1 name=login type=submit value=Login></font></P></form></BODY></HTML> --ReadMail.asp <% Dim Pop1 Set Pop1 = Server.CreateObject("Dart.Pop.1") Session("Username")= Request("userid") Session("Password")= Request("password") Pop1.Login "127.0.0.1", Session("Username"), Session("Password") Pop1.AttachmentDirectory = "" Pop1.Get(msgPreview) Response.write "There are " & Pop1.Count & " Messages in the mailbox " & "<br>" & "<br>" dim msg For Each Msg in Pop1.Messages Response.Write "Message Subject: " & msg.Subject & "<br>" Response.Write "Message Text: " & msg.Text & "<br>" Response.Write "Message From : " & msg.From & "<br>" & "<br>" Next %> Sir this is just the smallest example i am giving You. Please Reply to this as soon as possible Thank You, Achal Gaggar |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 15, 2003 8:58 AM What errors are you getting? |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|