greenmail icon indicating copy to clipboard operation
greenmail copied to clipboard

Check/improve compatibility with mail clients

Open camann9 opened this issue 11 years ago • 6 comments

Greenmail was written with JavaMail as the primary client. Nonetheless it would be nice if users would be able to connect to Greenmail using a mail client of their choice. We should check/improve support for major mail clients:

  • Thunderbird
  • Outlook
  • Apple mail

camann9 avatar Dec 11 '14 11:12 camann9

Is it worthwhile targeting mobile mail clients as well?

buildscientist avatar Dec 15 '14 06:12 buildscientist

I don't really think it's necessary since this feature is supposed to be used by developers to check on received mails and send test mails manually. IMHO people don't need to do this from a mobile device.

camann9 avatar Dec 15 '14 08:12 camann9

+1 to check/improve support for major (non-mobile) mail clients.

Also, besides popular desktop clients, including 1 webmail client as Squirrelmail would be nice too.

elgalu avatar Dec 15 '14 19:12 elgalu

Hmm ok - some developers do develop mobile apps that can be used to share stuff over email :)

Anyhow if we get some users who want mobile mail client support we can handle that later.

buildscientist avatar Dec 16 '14 02:12 buildscientist

Apple Mail v7.3 on OS X 10.9.5 connecting to IMAP on 3143 (non SSL) using greenmail-standalone v1.5.0 causes the following exception/warning to be logged:

159694  WARN      commands.FetchCommand| Error processing command: Unexpected end of line. Command should be '<tag> FETCH <message-set> <fetch-profile>'
com.icegreen.greenmail.imap.ProtocolException: Unexpected end of line.
    at com.icegreen.greenmail.imap.commands.FetchCommand$FetchCommandParser.nextCharInLine(FetchCommand.java:451)
    at com.icegreen.greenmail.imap.commands.FetchCommand$FetchCommandParser.addNextElement(FetchCommand.java:363)
    at com.icegreen.greenmail.imap.commands.FetchCommand$FetchCommandParser.fetchRequest(FetchCommand.java:350)
    at com.icegreen.greenmail.imap.commands.FetchCommand.doProcess(FetchCommand.java:58)
    at com.icegreen.greenmail.imap.commands.FetchCommand.doProcess(FetchCommand.java:48)
    at com.icegreen.greenmail.imap.commands.CommandTemplate.process(CommandTemplate.java:57)
    at com.icegreen.greenmail.imap.ImapRequestHandler.doProcessRequest(ImapRequestHandler.java:98)
    at com.icegreen.greenmail.imap.ImapRequestHandler.handleRequest(ImapRequestHandler.java:51)
    at com.icegreen.greenmail.imap.ImapHandler.run(ImapHandler.java:69)
    at com.icegreen.greenmail.server.AbstractServer$1.run(AbstractServer.java:158)
    at java.lang.Thread.run(Thread.java:745)

This might be fixed by the Alfresco patch for FetchCommand in #37

buildscientist avatar Apr 06 '16 01:04 buildscientist

Opened issue #126 for this.

marcelmay avatar Apr 06 '16 20:04 marcelmay