The SMTP code doesn't work on EBCDIC platforms (like IBM os/390) because it
sends the commands in the default platform encoding instead of forcing it to be
ASCII.
I've tested it with an application running on OS/390 trying to do SMTP with a
Domino server also running on OS/390 and it doesn't work because the server
expects ASCII encoding even if it is running on an EBCDIC platform.
It is specified in the SMTP protocol that the commands/responses must be
encoded in ASCII.
I've made it work locally by changing the calls to open the input/output
streams in the com.oroinc.net.smtp.SMTP.connectAction() method by using the
respective constructors accepting an encoding as the second parameter and by
specifying this encoding to be "Cp850". The code changes still works on a
Win2K platform.
I suspect there might be other platforms and/or other protocols that are
affected.
superset (ISO-8859-1) for protocol communication. Please verify the fix
works for you and I will close out the report and mark it as resolved.
Thank you very much for bringing this issue to light.