title: How to check if the email have sent successfully or not?
body: <p>See title. Since <a href="http://msdn.microsoft.com/en-us/library/h1s04he7.aspx" rel="nofollow">SmtpClient.Send</a> has no return value, I want to know how I can be sure that the E-Mail was successfully sent.</p>
  
  <p>Here is the code I have until now and it works fine (it is from google):</p>
  
  <pre><code>private void sendMail(string strToAddress, string strFromAddress, string strSubject, string strBody)
  {
      // new instance of MailMessage
      MailMessage mailMessage = new MailMessage();
  
      // Sender Address
      mailMessage.From = new MailAddress(strFromAddress);
  
      // Recepient Address
      mailMessage.To.Add(new MailAddress(strToAddress));
  
      // Subject 
      mailMessage.Subject = strSubject;
  
      // Body
      mailMessage.Body = strBody;
  
      // format of mail message
      mailMessage.IsBodyHtml = true;
  
      // new instance of Smtpclient
      SmtpClient mailSmtpClient = new SmtpClient("mail.lablabal.com");
  
      // mail sent
      mailSmtpClient.Send(mailMessage);
  }
  </code></pre>