here is my code
Code: Select all
public class FeedbackHandler extends BaseClientRequestHandler {
@Override
public void handleClientRequest(User user, ISFSObject objIn) {
ISFSObject objOut = new SFSObject();
String subject = objIn.getUtfString("name");
String message = objIn.getUtfString("content");
Email myEmail = new SFSEmail("aaa@email.com", "bbb@email.com", subject, message);
SmartFoxServer.getInstance().getMailService().sendMail(myEmail);
}
}
here is the error message
Information:java: Errors occurred while compiling module 'LobbyExtension'
Information:javac 1.8.0_121 was used to compile java sources
Error:(27, 63) java: can not access javax.mail.MessagingException
can not find javax.mail.MessagingException