[PAID] IMAPClient: Extension to read emails from IMAP server [$6 or INR 350]

1.Introduction

Description: This extension can be used to read emails from imap server.Although it is primarily for reading emails but some minor writing is also supported.
Latest Version: 1
Released: 2021-04-25T18:30:00Z
Last Updated: 2021-04-25T18:30:00Z

2.Blocks

image

image

image

image

image

3.Documentation

  • Closed
    Event invoked when server closes connection
    image
  • Connected
    Event invoked when connection is established with server
    image
  • Disconnected
    Event invoked when request to disconnect connection with server has been succeeded
    image
  • FolderStateChanged
    Event invoked when currently opened folder's state changes
    image
    state ~ text (Connected,Disconnected,Closed)
  • GotError
    Event invoked when any error occurs
    image
    errorMessage ~ text
  • GotFlagsList
    Event invoked after getting requested message's flags
    image
    flagsList ~ List< Integer >
  • GotFoldersList
    Event invoked after getting folders list
    image
    list ~ List < String >
  • GotMessageInfo
    Event invoked after getting requested message's information
    image
    infoDictionary ~ Dictionary
  • GotSubjectList
    Event invoked after getting subject's list
    image
    subjectList ~ List < String >
  • ReceivedNewMessage
    Event invoked when a message in currently opened folder changes or a new is arrived
    image
    id ~ int (Message Number which can be used to get information using GetMessageInfo method)
  • ReceivedNotification
    Event invoked when server sends a notification or message
    image
    type ~ int
    message ~ text
  • RetrievedMessages
    Event invoked when messages has been retrieved
    GetMessageInfo and related blocks should be only called once messages has been retrieved
    image
  • CloseFolder
    Closes currently opened folder
    image
  • Connect
    Tries to connect to the server
    image
    host ~ text
    port ~ int (usually 993)
    protocol ~ text (SSL Or TLS)
    userName ~ text
    password ~ text
  • Disconnect
    Manually closed connection with server
    image
  • GetFoldersList
    Tries to get list of folders with given filter
    image
    filter ~ text
    Possible Filters: empty string , * , %
  • GetMessageFlags
    Tries to get given message's flags
    Useful if you want to filter messages using flags
    image '
    id ~ int
  • GetMessageInfo
    Gets given message's information
    image
    id ~ int
  • GetSubjectList
    Gets subject's list within range
    from = 0 and to = 0 means all message's subjects will be retrieved
    image
    from ~ int
    to ~ int
  • IsConnected
    Returns whether connection is open or not
    image
    Returns boolean
  • MessagesCount
    Returns total message's count in current folder
    image
    Returns int
  • OpenFolder
    Tries to open folder with given mode and triggers event FolderStateChanged
    image
    folderName ~ text
    mode ~ int
  • RetriveMessages
    Retrieves messages within given range
    image
    from ~ int
    to ~ int
  • SetFlag
    Sets flag on given message
    image
    id ~ int
    flag ~ int

4.Buy

Kindly send me a PM.
Thank you. :slightly_smiling_face:

Hope it helps!

11 Likes

Here is a test apk:

1 Like

Nice :slightly_smiling_face: extension @vknow360

2 Likes

Where to buy?

volume_up
13 / 5000
Risultati della traduzione
where to buy

1 Like

You should have received the mail.

1 Like

1 Like

Actually, first you will have to select the folder from list and then click on OpenFolder.
After that you can get messages.
Flow should be like this:
Connect
Get Folders list
Open Folder
Get Subject List
Open that specific message
Get the message info

One thing you should note that only messages which have been retrieved can be opened.
So you need to retrieve subject list and messages alternately.

Ok, the email is raw email.

Message Info is a dictionary and body can be html.

You just missed commission of PayPal.

1 Like