Search The ForumSearch   RegisterRegister  LoginLogin

MailBee IMAP4

 AfterLogic Forum : MailBee IMAP4
Subject Topic: Using the Imap4 Object Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Guests
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 30 June 2005 at 4:07am | IP Logged Quote Guests

Hello,
I've downloaded the MailBee Imap4 Object and I used it to make the login page, now my problem is that I must use this two strings(username and password that I have used when I did the login page) to make another page, how con I use Imap4 in this case?
My page will be like this:


Dim Rs
     Dim CN
     
     Set UserName = request.queryString("Username")

     Set Nome = Request.queryString("Nome1")
     Set Cognome = Request.QueryString("Cognome1")
     Set Voto = Request.QueryString("Voto")

     'Seleziono i dati nel database
' Conneterti al DB
     Set CN=server.CreateObject("ADODB.Connection")
     Set Rs = Server.CreateObject("ADODB.Recordset")
     CN.ConnectionString = Application("StudentiDB")
     CN.Open
          
     dim StrSQL
     StrSQL = " SELECT tSA.Cognome1, tSA.Nome1, tSA.Voto " &_
                "      ;FROM tab_StudAppelli tSA " &_
                "      ;WHERE tSA.Matr1 = " & Username
               
                
                               
     Rs.Open StrSQL,CN

     
while (Not Rs.EOF)%>
<font size="1" color="red" face="Verdana, Arial, Helvetica">
                <B></B> <%Response.write Rs("Cognome1")%><br><br><%Response.write Rs("Nome1")%><br><br><%Response.write Rs("Voto")%></font>
<%
     
     Rs.MoveNext
     wend
     
     Rs.Close
     Set Rs = Nothing
     CN.Close
     Set Cs = Nothing   
%>



The UserName used must be the field of the username I must write using the Imap4 object
Is there anyone who can helps me?
Thanks...
Back to Top View Guests's Profile Search for other posts by Guests
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 30 June 2005 at 10:17am | IP Logged Quote Alex

I'm sorry but I didn't understand what result you want to achieve. Could you please review your inquiry and describe what exactly is the problem with IMAP4 object?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide