![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
| | | LinkBack | Thread Tools | Search Thread | Language |
| Sponsored Links |
| | #1 |
![]() Join Date: Dec 2005 Location: Walsall
Posts: 1,252
Thanks: 27
Thanked 6 Times in 5 Posts
Rep Power: 10 | 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 |
| |
| | #2 |
![]() Join Date: Dec 2005 Location: Walsall
Posts: 1,252
Thanks: 27
Thanked 6 Times in 5 Posts
Rep Power: 10 | 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 |
| |
| |
| | ||||
| 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 |
|
|




