Email:" + email + "
Contact Number:" + contact + "
Message:" + mess; console.log(body); Email.send({ SecureToken : "89943884-60b3-421f-8b86-530d71fee262", To : 'shishir.gyawali@hotmail.com', From : "shishir.gyawali@hotmail.com", Subject : sub, Body : body }).then( message =>{ if(message=='OK'){ swal("Successful", "Your Message is Received", "success"); } else{ swal("Something Went Wrong", "Your Message is not Received", "error"); } } ); }