SMTP error
Please Login to Remove!
I connect using SMTP from a MIDP application to local mail server. The application runs on the simulator 4.0 with MDS 4.0. I tried to make no use of BlackBerry Mail API and use only SocketConnection on port 25
The problem is that if the message size is above a certain limit the MDS log file displays the following error:
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<java.io.IOException: The VectorInputStream[] is closed!>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at rimmir.mirrim.mir.xvvw.write(Unknown Source)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at java.io.DataOutputStream.write(DataOutputStream.ja va:85)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at net.rim.protocol.iplayer.connection.handler.device .defaulthandler.wvvv.start(Unknown Source)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at net.rim.protocol.iplayer.connection.yzxy.run(Unkno wn Source)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at net.rim.utility.threading.yvxw.run(Unknown Source)>
<2006-08-09 22:47:11 EEST>:[394]:<MDS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Exception, java.io.IOException: The VectorInputStream[] is closed!
LAYER = IPPP, EVENT = Exception, at rimmir.mirrim.mir.xvvw.zXX(Unknown Source)
LAYER = IPPP, EVENT = Exception, at net.rim.protocol.iplayer.device.wvwy.sendIOExcepti on(Unknown Source)
LAYER = IPPP, EVENT = Exception, at net.rim.protocol.iplayer.connection.handler.device .defaulthandler.wvvv.start(Unknown Source)
LAYER = IPPP, EVENT = Exception, at net.rim.protocol.iplayer.connection.yzxy.run(Unkno wn Source)
LAYER = IPPP, EVENT = Exception, at net.rim.utility.threading.yvxw.run(Unknown Source)
The message gets on the server but is truncated (e.g. instead of "abcdefg" we get only "efg")
|