commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (NET-98) SMTP won't work under non-ASCII platforms
Date Wed, 17 May 2006 19:50:06 GMT
     [ http://issues.apache.org/jira/browse/NET-98?page=all ]
     
Henri Yandell reopened NET-98:
------------------------------


> 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


Mime
View raw message