title: vb.net send email with image
body: <p>there is a lot of topic about sending email with attachment but i couldn't find what i was looking for
  my form contain 8 textbox and 1 PictureBox i can send all textbox via email but ican't send PictureBox i try many code </p>
  
  <p>this is my <a href="http://i.imgur.com/KJlnEg8.png" rel="nofollow">form</a>.</p>
  
  <p>and here is my code </p>
  
  <pre><code>    Dim MyMessage As New MailMessage
      Try
          MyMessage.From = New MailAddress("x@gmail.com")
  
          MyMessage.To.Add("x@gmail.com")
  
          MyMessage.Subject = "Data"
  
          MyMessage.Body = Label1.Text + "  =  " + IDTextBox.Text + Environment.NewLine + Label2.Text + "  =  " + ناوی_سیانی_کارمەندTextBox.Text + Environment.NewLine + Label3.Text + "  =  " + ساڵی_لە__دایک_بوونTextBox.Text + Environment.NewLine + Label4.Text + "  =  " + شوێنی_دانیشتنTextBox.Text + Environment.NewLine + Label5.Text + "  =  " + گروپی_خوێنTextBox.Text + Environment.NewLine + Label6.Text + "  =  " + ناو_نیشانی_کار_لە_کۆمپانیاTextBox.Text + Environment.NewLine + Label7.Text + "  =  " + ژمارەی_مۆبایلTextBox.Text + Environment.NewLine + Label8.Text + "  =  " + شوێنی_کارTextBox.Text
  
          Dim SMTP As New SmtpClient("smtp.gmail.com")
          SMTP.Port = 587
          SMTP.EnableSsl = True
          SMTP.Credentials = New System.Net.NetworkCredential("x@gmail.com", "x")
          SMTP.Send(MyMessage)
          MsgBox("your message Has been sent successfully")
      Catch ex As Exception
  
      End Try
  </code></pre>
  
  <p>i will be greatfull  if you could help me :)</p>