Advertisement
Guest User

Untitled

a guest
Feb 24th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Promise<Result> promiseOfInt = Akka.future(
  2. new Callable<Result>() {
  3. public Result call() {
  4. try {
  5. sendMail(form,to,sub,msg);
  6. } catch (MessagingException e) {
  7. e.printStackTrace();
  8. }
  9. return null; } } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement