how to popup successful message after sending the message in controller, using c#, MVC
<p>I am sending email using smpt. I can send the email successfully.I have tested it and received.now my problem is how can I show a success or error message after finish the email send process(up to now only success is also enough) within the controller.I have attached my code here which is inside my controller.</p>

<pre><code>    [HttpPost]
    public async Task&lt;ActionResult&gt; GetEnquiryData(string FirstName, string LastName, string Email, string PhoneNumber, string TravelCalendar, string TravelNights, string TravelMonth, string TNoAdults, string TNoChildren, string SpecialOc, string GettoKnow, string TCUKMember, string Tdate, string Tprice, string byemail, string dealRef, string ConTime)
    {
        var firstName = FirstName;
        var lastName = LastName;
        var email = Email;
        var contactNumber = PhoneNumber;
        var travelCalendar = TravelCalendar;
        var travelNights = TravelNights;
        var travelMonth = TravelMonth;
        var TAdults = TNoAdults;
        var TChildren = TNoChildren;
        var SpecialOcc = SpecialOc;
        var GetToKnow = GettoKnow;
        var TcukMember = TCUKMember;
        var Date = Tdate;
        var Price = Tprice;
        var Mail_Call = byemail;
        var DealRef = dealRef;
        var CTime = ConTime;
        string subject = "";
        string body = "";


        //TCNewDBEntities EnquiryEntities = new TCNewDBEntities();
        //Enquiry enQuiryDetails = new Enquiry();

        //enQuiryDetails.FirstName = firstName;
        //enQuiryDetails.LastName = lastName;
        //enQuiryDetails.EmailAddress = email;


        //EnquiryEntities.Enquiries.Add(enQuiryDetails);
        //EnquiryEntities.SaveChanges();


        var fromAddress = "inone@Ubr.co.uk";
        subject = "Enquiry Form Details";
        body += "&lt;br /&gt;&lt;br /&gt;&lt;b&gt;" + Mail_Call + "&lt;/b&gt;";
        body += "&lt;br /&gt;&lt;br /&gt;Deal Reference No." + DealRef;
        body += "&lt;br /&gt;&lt;br /&gt;First Name : " + firstName;
        body += "&lt;br /&gt;&lt;br /&gt;Last Name : " + lastName;
        body += "&lt;br /&gt;&lt;br /&gt;Email Address : " + email;
        body += "&lt;br /&gt;&lt;br /&gt;Contact Number : " + contactNumber;
        body += "&lt;br /&gt;&lt;br /&gt;Traveling From : " + travelCalendar;
        body += "&lt;br /&gt;&lt;br /&gt;Nights : " + travelNights;
        body += "&lt;br /&gt;&lt;br /&gt;Date : " + Date + " " + travelMonth;
        body += "&lt;br /&gt;&lt;br /&gt;Price : " + Price;
        body += "&lt;br /&gt;&lt;br /&gt;No. Adults : " + TAdults;
        body += "&lt;br /&gt;&lt;br /&gt;No. Children : " + TChildren;
        body += "&lt;br /&gt;&lt;br /&gt;Special Occasion : " + SpecialOc;
        body += "&lt;br /&gt;&lt;br /&gt;Know About Deals: " + GetToKnow;
        body += "&lt;br /&gt;&lt;br /&gt;Convenient Time:" + CTime;
        body += "&lt;br /&gt;&lt;br /&gt;Voucher Code: " + TcukMember;


        MailMessage mailP = new MailMessage();
        mailP.From = new MailAddress(fromAddress);
        mailP.To.Add(new MailAddress("abcd@gmail.com"));
        mailP.Bcc.Add(new MailAddress(email));
        mailP.Subject = "'" + subject + "'";
        mailP.Body = body;
        mailP.IsBodyHtml = true;

        using (var smtpClient = new SmtpClient())
        {
            var credential = new NetworkCredential
            {
                UserName = "smtpubr",
                Password = "12ubr34"
            };

            smtpClient.Credentials = credential;
            smtpClient.Host = "smtpttcorpeo.com";
            smtpClient.Port = 2322;
            smtpClient.EnableSsl = true;

            await smtpClient.SendMailAsync(mailP);
        }

        return Json(new { });
    }
</code></pre>

<p>hope your help with this.</p>