greenmail-mail-test / greenmail

Official master for the Greenmail project
http://greenmail-mail-test.github.io/greenmail/
Apache License 2.0
624 stars 179 forks source link

Check/improve compatibility with mail clients #44

Open camann9 opened 9 years ago

camann9 commented 9 years ago

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:

buildscientist commented 9 years ago

Is it worthwhile targeting mobile mail clients as well?

camann9 commented 9 years ago

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.

elgalu commented 9 years ago

+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.

buildscientist commented 9 years ago

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 commented 8 years ago

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

marcelmay commented 8 years ago

Opened issue #126 for this.