public static void main(String[] argv) {
SMTPSend smtpSend = new SMTPSend();
smtpSend.msgsend();
}
}
It compiled successfully, but while running this code getting below exception:
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. s29sm10871689wak.14
What to do to resolve this?
Sorry for the big post.
Please help me to complete this, it is very urgent.
What classes to import and what jar files to include?
Thanks,
Maki Jav
Help gets you when you need it!
jagannadha reddy
Greenhorn
Joined: Jul 02, 2010
Posts: 14
posted
0
Hi Tried with above code, it is going to exception block and printing message as follows:
javax.microedition.io.ConnectionNotFoundException: sms
at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnec
tor.java:185)
at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.
java:162)
at javax.microedition.io.Connector.open(Connector.java:83)
at Javaronch.Sms(Javaronch.java:12)
at Javaronch.main(Javaronch.java:36)
Unable to connect to Station because of network problem
Please tell me the solution to resolve this and make it work successfully.