error in this example,
October 24, 2008 at 11:28 PM
i have tried this program but encounterd following when complied /* C:\jdk\bin>javac SendMail.java SendMail.java:20: cannot find symbol symbol : method getDefaultInstance(java.util.Properties) location: class Session Session session = Session.getDefaultInstance(properties); ^ SendMail.java:23: cannot find symbol symbol : constructor MimeMessage(Session) location: class javax.mail.internet.MimeMessage MimeMessage message = new MimeMessage(session); ^ 2 errors */ please help
View All Comments
| View Tutorial