Får detta felmeddelande när jag kör koden nedan, vad är fel?
Exception Details: System.Runtime.InteropServices.COMException: Konfigurationsvärdet "SendUsing" är ogiltigt.
Sub SendEmail(ByVal address As String, ByVal subject As String, ByVal message As String)
Dim mailMessage As MailMessage = New MailMessage()
mailMessage.From = "booksmart@info.com"
mailMessage.To = address
mailMessage.Subject = subject
mailMessage.Priority = MailPriority.High
mailMessage.BodyFormat = MailFormat.Html
mailMessage.Body = message
[red]System.Web.Mail.SmtpMail.Send(mailMessage)[/red]
End Sub
Exception Details: System.Runtime.InteropServices.COMException: Servern avvisade en eller flera mottagaradresser. Servern svarade: 550 5.7.1 Unable to relay for zion@mbox301.swipnet.se