You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/05/17 21:50:08 UTC
[jira] Closed: (NET-98) SMTP won't work under non-ASCII platforms
[ http://issues.apache.org/jira/browse/NET-98?page=all ]
Henri Yandell closed NET-98:
----------------------------
Resolution: Fixed
Housekeeping due to oddities in the migration.
> SMTP won't work under non-ASCII platforms
> -----------------------------------------
>
> Key: NET-98
> URL: http://issues.apache.org/jira/browse/NET-98
> Project: Commons Net
> Type: Bug
> Environment: Operating System: other
> Platform: Other
> Reporter: fasselin
> Priority: Blocker
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org