+ Post New Thread
Results 1 to 2 of 2
Coding Thread, using IMAP Authentication in ASP in Coding and Web Development; How would I connect to our IMAP server and authenticate using ASP the examples I've been given seem to need ...
  1. #1
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,205
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30

    using IMAP Authentication in ASP

    How would I connect to our IMAP server and authenticate using ASP the examples I've been given seem to need extra DLLs to run PHP can do it though?



    ASP Login IMAP Mail Server


    <%
    ' Demonstrates how to connect to and log into an IMAP server.
    set imap = Server.CreateObject("ChilkatImap.ChilkatImap")

    ' Any value passed to UnlockComponent begins the 30-day trial.
    unlocked = imap.UnlockComponent("30-day trial")
    if unlocked then

    ' Connect to your IMAP server.
    success = imap.Connect("mailserver.mycompany.com")
    if (success = 0) then
    ' IMAP connection failed.
    Response.write imap.LastErrorHtml
    else
    success = imap.Login("myLogin","myPassword")
    if (success = 0) then
    'IMAP login failed
    Response.write imap.LastErrorHtml
    else
    Response.write "Connected and logged in!"

    ' That's it for this example, logout and disconnect.
    imap.Logout
    imap.Disconnect
    end if
    end if
    end if

    %>





    Any ideas guys?


    Wes

  2. #2
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,205
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30

    Re: using IMAP Authentication in ASP

    Writing it in PHP isn't a problem but I'm modifying the Liberum Helpdesk to work outside school and using the email server as an authentication server?

    Wes

SHARE:
+ Post New Thread

Similar Threads

  1. CLEO emails IMAP
    By Outpost in forum Wireless Networks
    Replies: 2
    Last Post: 13th November 2007, 01:55 PM
  2. Moodle Authentication - Shibboleth and/or IMAP
    By ICTNUT in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 18th May 2007, 01:25 PM
  3. Replies: 3
    Last Post: 30th April 2007, 10:32 PM
  4. PHP IMAP check mail script
    By netadmin in forum Web Development
    Replies: 2
    Last Post: 22nd April 2007, 03:47 AM
  5. PHP based Helpdesk with IMAP or POP3 authentication?
    By wesleyw in forum How do you do....it?
    Replies: 5
    Last Post: 18th October 2006, 01:08 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •