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 ...
-
17th October 2006, 08:30 AM #1 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?
<html>
<head>
<title>ASP Login IMAP Mail Server</title>
</head>
<body>
<%
' 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
%>
</body>
</html>
Any ideas guys?
Wes
-
-
IDG Tech News
-
17th October 2006, 10:30 AM #2 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:
Similar Threads
-
By Outpost in forum Networks
Replies: 2
Last Post: 13th November 2007, 02:55 PM
-
By ICTNUT in forum Virtual Learning Platforms
Replies: 2
Last Post: 18th May 2007, 01:25 PM
-
By calshopper in forum *nix
Replies: 3
Last Post: 30th April 2007, 10:32 PM
-
By netadmin in forum Web Development
Replies: 2
Last Post: 22nd April 2007, 03:47 AM
-
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
-
Forum Rules