Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Go Back   EduGeek.net Forums > Coding and Web Development > Coding
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 17-10-2006, 08:30 AM   #1
 
wesleyw's Avatar
 
Join Date: Dec 2005
Location: Walsall
Posts: 1,252
Thanks: 27
Thanked 6 Times in 5 Posts
Rep Power: 10 wesleyw is on a distinguished road
Default 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
  Reply With Quote
Old 17-10-2006, 10:30 AM   #2
 
wesleyw's Avatar
 
Join Date: Dec 2005
Location: Walsall
Posts: 1,252
Thanks: 27
Thanked 6 Times in 5 Posts
Rep Power: 10 wesleyw is on a distinguished road
Default 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
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
CLEO emails IMAP Outpost Networks 2 13-11-2007 02:55 PM
Moodle Authentication - Shibboleth and/or IMAP ICTNUT Virtual Learning Platforms 2 18-05-2007 01:25 PM
imap/pop3 clients can't auth to solaris 10 imap/pop3 server calshopper *nix 3 30-04-2007 10:32 PM
PHP IMAP check mail script claridentech Web Development 2 22-04-2007 03:47 AM
PHP based Helpdesk with IMAP or POP3 authentication? wesleyw How do you do....it? 5 18-10-2006 01:08 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 09:54 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net