title: Sending SMS using VB.NET
body: <pre><code>Dim message As New MailMessage()
  message.To.Add("9999999999@ideacellular.net")
  message.From = New MailAddress("xyz@gmail.com")
  message.Subject = "Hi"
  message.Body = "SMS"
  Dim smtp As New SmtpClient("smtp.gmail.com")
  smtp.EnableSsl = True
  smtp.Credentials = New System.Net.NetworkCredential("xyz@gmail.com", "password")
  smtp.Send(message)
  </code></pre>
  
  <p>I have written the above code in order to send SMS from my vb.net application to a Mobile phone.</p>
  
  <p>When i execute this code i am not getting any errors, at the same time i am not receiving any SMS.</p>
  
  <p>What could be the problem ?</p>