Hi everyone , I want to send email and I can . But in my code
Java is waiting for sending email and method does not finish till sending email . How can I insert db by doesn't depending on email . I write code as two process which doesn't depend on each other . This is my code ,I hope that , you can understand me

, Thanks in advance .