B4i Library iPOP - Email Protocol - Easy way to retrieve email (GMAIL,POP3, etc)

Discussion in 'iOS Libraries' started by Alberto Iglesias, Aug 23, 2015.

  1. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User


    This library was made based on POP Protocol

    Installation instructions:

    - Copy the *.a and *.h files into the folder "Libs" in your MAC or in your MAC HOSTED by AnywhereSoftware, normally in "B4i-MacServer\Libs" folder

    -Copy the iPOP.xml to your custom libraries folder in B4i
    - Select in your REFERENCED LIBRARIES


    Version history:
    V1.0.0 (First public release):
    - Initial version

    Author: Alberto Iglesias (alberto@visualnet.inf.br)
    Version: 1.0.0

    Alberto Iglesias (alberto@visualnet.inf.br)
    Version: 1
    • POP3
      • DownloadCompleted (Messages as List )
      • onInitialized ( )
      • DeleteAllMessages
        Delete all messages from server
      • DeleteMessagesByUidl: (uidl As String)
        Delete message from your UIDL from server
      • DownloadInfoMailBox As String
        Download Mailbox Information
      • DownloadMessageByUidl: (uidl As String) As Int
        Download message from your UIDL from server
      • DownloadMessages As Int
        Download all messages from server
      • Initialize (EventName As String)
        Initializes the object.
      • Author As String [read only]
        Author of this Library
      • ConnectionTypeClear As BOOLEAN
        Enable/Disable SSL Mode
      • DebugMode As BOOLEAN
        Enable/Disable Debug mode from Library
      • OnlyHeaders As BOOLEAN
        Download OnlyHeaders or Full Email
      • POPPassword As String
        POP Server Password
      • POPPort As Int
        POP Server Port
      • POPServer As String
        POP Server Hostname
      • POPUsername As String
        POP Server Username
      • Version As String [read only]
        Library Version


    Download Library

    * This version is fully functional, the only one difference is when download emais from server, sometimes can be show a donation message.
    Please consider a simple €10 donation and I send to you the Library without "Donationware" message alert.


    Attached Files:

    moster67 likes this.
  2. little3399

    little3399 Active Member Licensed User

    Great Work !
  3. valentino s

    valentino s Active Member Licensed User

    I've discovered now your library. Thanks, it's great.
    May I suppose I have to add manually popserver popuser popport poppassword ?
    Is it correct I can't access directly to email accounts already configured on the device due to security reasons in iOS ?
    Thanks once more.
  4. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Hello Valentino,

    In this library you need pass server, pass, user, port to work.

    You can´t get access directly the accounts configured in default mail app, is protected.
    valentino s likes this.
  5. wl

    wl Well-Known Member Licensed User

    I'm looking for this library but I received a 404 when trying to download?

    Thanks !
  6. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

  7. wl

    wl Well-Known Member Licensed User

    Great ! Unfortunately no longer free ...
  8. wl

    wl Well-Known Member Licensed User

    I'm downloading all mails and in the DownloadCompleted event I delete all mails using DeleteAllMessages.

    When using non ssl this works but using SSL the DeleteAllMessages blocks.

    It fails and waits for a timeout (30s):
    This is the log:

        DllDate: Jun 
    23 2015
        UnlockPrefix: DABOAIMAILQ
        Architecture: Little Endian; 
        Language: IOS Objective-C
    POP3 socket connection exists.
    to POP3 server
          hostname: myserver
    to POP3 server
    Socket operation timeout.
    Socket operation timeout.
    to received remainder of POP3 multi-line response.
    to connect to POP3 server.
    Any idea ?

    Last edited: Apr 7, 2018
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice