Saya mencoba membuat koneksi dengan pop3 server menggunakan handphone Nokia
3530, tetapi keluar error
"javax.microedition.io.ConnectionNotFoundException:The requested protocol
does not exist socket://pop.hotpop.com:110"

Pada saat saya coba di Handphone selain Nokia, masalah tersebut tidak
terjadi, apakah ada yang tahu bagaimana cara menyelesaikan masalah itu?

Di bawah ini potongan program saya :

import java.util.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import java.io.*;

public class SMTPSender extends Canvas implements CommandListener {
      public SMTPSender() {
            try {
                  SocketConnection SambungPOP;
                  SambungPOP = (SocketConnection)
Connector.open("socket://pop.hotpop.com:110");     
                  SambungPOP.setSocketOption(SocketConnection.LINGER, 10);
                  SambungPOP.close();
            } catch (IOException ioe){
                  Alert infoku = new Alert("Error",ioe.toString(),null,AlertType.INFO);
                  infoku.setTimeout(Alert.FOREVER);
                  display.setCurrent(infoku);
            }
      }
}


Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke [EMAIL PROTECTED]

Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id




Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=329132866


Yahoo! Groups Links

Reply via email to