i use code
JFUtils utils = context.getUtils();
try {
Future<IEmailResponse> future = utils.sendMail("
[email protected]", "subject", "text");
console.getOut().println("Waiting on response");
IEmailResponse response = future.get(30, TimeUnit.SECONDS);
if (response.isError()) {
console.getErr().println(response);
} else {
console.getOut().println("e-mail successfully sent!");
}
} catch (Exception e) {
e.printStackTrace(console.getErr());
}
But the error , is it still need to import the library?
What code should I add?