imap-server | IMAP Server for golang
kandi X-RAY | imap-server Summary
kandi X-RAY | imap-server Summary
[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
Top functions reviewed by kandi - BETA
- 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 .
imap-server Key Features
imap-server Examples and Code Snippets
Community Discussions
Trending Discussions on imap-server
QUESTION
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:36The 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.
QUESTION
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:07The problem you are hitting is that MailKit has 2 versions of ImapFolder.GetMessage()
:
QUESTION
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:02Use -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:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install imap-server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page