title: Add Image to Email Body using C#
body: <p>I want to add an image from picturebox to my email body using C#. This is what I've done. Anyone can help me ?</p>
  
  <pre><code>var fromAddress = new MailAddress("aaa@gmail.com", "aaa");
          var toAddress = new MailAddress("bbb@gmail.com", "bbb");
          const string fromPassword = "mypassword";
          const string subject = "Tes Program";
          const string body = "Bersama ini kami kirimkan QR Code sebagai sarana validasi pengiriman rekening koran Anda. Harap simpan dan tunjukkan QR Code ini saat kurir kami datang untuk mengantar rekening koran. Atas perhatiannya kami sampaikan terima kasih. Salam";
  
          var smtp = new SmtpClient
          {
              Host = "smtp.gmail.com",
              Port = 587,
              EnableSsl = true,
              DeliveryMethod = SmtpDeliveryMethod.Network,
              UseDefaultCredentials = false,
              Credentials = new NetworkCredential(fromAddress.Address, fromPassword)
          };
  
          using (var message = new MailMessage(fromAddress, toAddress)
          {
  
              Subject = subject,
              Body = body
  
  
          }
  
          )
          {
              smtp.Send(message);
          }
  </code></pre>
  
  <p>I have picturebox1 and want to add image that shown in picturebox1 to my email body</p>