I am making a very simple SMTP emailer. This is the code:
This is the error I get when I press send:

VB.NET:
Imports System.Net.Mail
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim AnEmailMessage As New MailMessage
AnEmailMessage.From = New MailAddress("xxx@gmail.com")
AnEmailMessage.Subject = (TextBox1.Text)
AnEmailMessage.Body = (MaskedTextBox1.Text)
AnEmailMessage.Priority = MailPriority.High
Dim SimpleSMTP As New SmtpClient("smtp.gmail.com")
SimpleSMTP.Port = 587
SimpleSMTP.EnableSsl = True
SimpleSMTP.Credentials = New System.Net.NetworkCredential(xxx@gmail.com", "xxx")
SimpleSMTP.Send(AnEmailMessage)
MsgBox("The message was sent.", MsgBoxStyle.OkOnly, "Message Sent !")
End Sub
End Class
This is the error I get when I press send:
