Mail.From = New Net.Mail.MailAddress(test@gmail.com)
Mail.To.Add("exc@gmail.com")
Mail.Subject = "Test"
Mail.Body = "Test"
Try
Dim mySmtp As New Net.Mail.SmtpClient("server")
mySmtp.Send(Mail)
Catch ex As Exception
MsgBox(ex.Message)
End Try
答案 0 :(得分:1)
尝试禁用反病毒,因为它们可以阻止SMTP通话。