Results 1 to 2 of 2

Thread: cocoa and pop3

  1. #1

    Member Since
    Sep 24, 2008
    cocoa and pop3
    I'm trying to develop an app that uses apple's kiosk mode and am stuck during authentication.

    I have the gui ready and a class grabbing the username and password and it prints the value to console when you press login.....

    We authenticate people via their library email address.

    What I need is a piece of code that will return true if an email address and password is valid and return false if it isnt. This will be checked explicitly, by

    Since I am developing in Cocoa, I would like to know if there is some cocoa pop3 login code out there or any open source app (other than thunderbird or gnumail) where i can just borrow a few lines of code to achieve this.

    Perhaps, even using telnet on port 110 and try to check authentication from there.....the server is the sun iplanet email messenger...


  2. #2

    Member Since
    Sep 24, 2008
    Hey, jmndos, I have a solution for you.

    Telnet just uses regular tcp sockets.

    Just write a function that makes a connection with you mail server on your pop3 port, probably 110.

    The connection does not require a password.

    When you log in, you start of by issuing user [username], that will either respond with an ok or an error message and then issue a pass [pass] and then you get an ok or an error. Checking for those responses should be enough to verify identity. This should be faster than most wrappers, because since your just checking for authentication, you can return false immediately after you fail the username....

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help - pop3 Cannot connect on some accounts??
    By Sorbz62 in forum Apple Desktops
    Replies: 1
    Last Post: 09-27-2010, 07:51 PM
  2. pop3 email
    By vc08 in forum Web Design and Hosting
    Replies: 1
    Last Post: 03-15-2010, 12:46 PM
  3. POP3 and G-mail
    By Ginger Pilot in forum Switcher Hangout
    Replies: 7
    Last Post: 07-12-2007, 05:30 PM
  4. POP3 problem
    By Shark Trager in forum macOS - Apps and Games
    Replies: 7
    Last Post: 12-27-2006, 10:55 AM
  5. Yahoo POP3
    By nicklwj in forum Schweb's Lounge
    Replies: 7
    Last Post: 09-20-2005, 01:11 AM

Posting Permissions

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