imap-server | IMAP Server for golang

 by   jordwest Go Version: Current License: MIT

kandi X-RAY | imap-server Summary

kandi X-RAY | imap-server Summary

imap-server is a Go library. imap-server has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

[Travis CI Build Status] Barebones IMAP4rev1 server for golang. Designed for integration into a backend app to provide email client access. Features a simple API for implementing your own email storage by implementing golang interfaces. Currently a dummy (in-memory) storage is included, with plans to include MySQL storage. This would make it simple to integrate into a backend application to allow users to drag-drop emails into the application, without messing around with maildir. Although it would be possible to implement and plug in a maildir storage interface, that would defeat the purpose of this project and there are much better, tried and tested open source and commercial solutions that have been around for a long time (Courier, Dovecot etc). The goal of this project is to provide simple IMAP access to some kind of existing system without the overhead of installing a full-blown IMAP/POP3 mail server.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              imap-server has a low active ecosystem.
              It has 103 star(s) with 19 fork(s). There are 11 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 10 open issues and 18 have been closed. On average issues are closed in 12 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of imap-server is current.

            kandi-Quality Quality

              imap-server has 0 bugs and 24 code smells.

            kandi-Security Security

              imap-server has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              imap-server code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              imap-server is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              imap-server releases are not available. You will need to build from source code and install.
              It has 2408 lines of code, 130 functions and 50 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed imap-server and discovered the below as its top functions. This is intended to give you an instant insight into imap-server implemented functionality, and help decide if they suit your requirements.
            • Store flags .
            • Copy a mailbox from a mailbox .
            • cmdFetch retrieves a list of messages .
            • Add a mailbox to a mailbox
            • Register all supported commands .
            • cmdAuthPlain handles a PLAIN command .
            • InterpretMessageRange converts a string to a SequenceRange .
            • NewTestConnection is like NewServer but accepts a connection to the server .
            • NewDummyMailstore creates a new DummyMailstore .
            • fetchHeaderSpecificFields fetches header fields from the mailstore .
            Get all kandi verified functions for this library.

            imap-server Key Features

            No Key Features are available at this moment for imap-server.

            imap-server Examples and Code Snippets

            No Code Snippets are available at this moment for imap-server.

            Community Discussions

            QUESTION

            How should I handle a huge amount of mails with Chilkat?
            Asked 2019-Oct-16 at 17:14

            I'm trying to fetch a huge amount of mails (2500 and more) from an IMAP-Server. Actually I'm using the imap.FetchHeaders() fuction but this is not THAT fast. Then I've tried the imap.FetchSingleHeader() but this is so much slower than imap.FetchHeaders()...

            What would you recommend ??

            ...

            ANSWER

            Answered 2019-Oct-14 at 22:36

            The imap.FetchHeaders() method will send a single IMAP command to fetch the headers. The IMAP server will send all headers in a single reply. The majority of the time it takes for the entire operation to complete is likely the IMAP server "think time", to process the request and send the response. If you turn on verbose logging (set the imap.VerboseLogging property = true) and then examine the contents of the imap.LastErrorText property, you should see timing information in elapsed milliseconds.

            In summary, it's unlikely that fetching 2500 headers can be made any faster.

            One note: To avoid problems we've seen when trying to fetch huge numbers of emails, Chilkat will send a maximum request of 1000 headers in a single request. This means that inside the FetchHeaders method (for the case of fetching 2500 headers), three separate request/response pairs will occur.

            Source https://stackoverflow.com/questions/58182287

            QUESTION

            GetMessage id out of range from search scope
            Asked 2018-Sep-27 at 20:26

            I'm trying connect to IMAP-server using MailKit from powershell. Connect to server, open inbox, search subfolders, select and open subfolder, query all messages (SeqrchQuery) and try get last message. Example code:

            ...

            ANSWER

            Answered 2018-Feb-21 at 15:07

            The problem you are hitting is that MailKit has 2 versions of ImapFolder.GetMessage():

            Source https://stackoverflow.com/questions/48896416

            QUESTION

            What does "BAD unrecognized extra arguments to LOGIN command" mean?
            Asked 2017-Aug-04 at 15:02

            I've been investigating issues with IMAP on mail.btinternet.com by using the Linux command line (with help from https://seeit.org/2010/01/31/debug-your-imap-server-with-telnet/)

            Whatever username and password I try, I get this:

            ...

            ANSWER

            Answered 2017-Aug-04 at 15:02

            Use -crlf flag to openssl s_client. By default it doesn't send CRLFs, which does not conform to the IMAP requirements, and can cause odd behaviour in some servers.

            This works for me:

            Source https://stackoverflow.com/questions/45508095

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install imap-server

            You can download it from GitHub.

            Support

            Command | Planned | Implemented | Tests ------------- | ------- | ----------- | ----- CAPABILITY | ✓ | ✓ | ✓ NOOP | ✓ | ✗ | ✗ LOGOUT | ✓ | ✓ | ✓ AUTHENTICATE | ✓ | ✓ | ✗ LOGIN | ✓ | ✓ | ✗ STARTTLS | ✓ | ✗ | ✗ EXAMINE | ✓ | ✓ | ✗ CREATE | ✓ | ✗ | ✗ DELETE | ✓ | ✗ | ✗ RENAME | ✓ | ✗ | ✗ SUBSCRIBE | ✗ | - | - UNSUBSCRIBE | ✗ | - | - LIST | ✓ | ✓ | ✓ LSUB | ✓ | ✓ | ✓ STATUS | ✓ | ✓ | ✓ APPEND | ✓ | ✓ | ✓ CHECK | ? | ✗ | ✗ CLOSE | ✓ | ✓ | ✗ EXPUNGE | ✓ | ✓ | ✓ SEARCH | ✓ | ✗ | ✗ FETCH | ✓ | ✓ | ✓ STORE | ✓ | ✓ | ✓ COPY | ✓ | ✓ | ✓ UID | ✓ | ✓ | ✓.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jordwest/imap-server.git

          • CLI

            gh repo clone jordwest/imap-server

          • sshUrl

            git@github.com:jordwest/imap-server.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link