Friday, March 7, 2003 06:43 AM
Can't send command to SMTP host;
nested exception is:
java.io.IOException: Bad file descriptor
That sounds to me like a problem with the SMTP/TCP/IP connection to your SMTP server. The socket is accessed via a file descriptor. Does it always do this? Can you send other messages through that same server?
Are you doing a content-transfer-encoding, e.g. base64? Maybe the SMTP server won't accept raw octet streams, so you need to base64 it first.