Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Promise<Result> promiseOfInt = Akka.future(
- new Callable<Result>() {
- public Result call() {
- try {
- sendMail(form,to,sub,msg);
- } catch (MessagingException e) {
- e.printStackTrace();
- }
- return null; } } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement