error with smtpMail.Send(MyMail)
Hello,
I get the following error running my application on the internetserver.
The server rejected one or more recipient addresses. The server response was: 553 sorry, relaying denied from your location [216.180.106.13] (#5.7.1)
This is the code I use
Dim MyMail As MailMessage = New MailMessage()
MyMail.From = sendFrom
MyMail.To = sendTo
MyMail.Subject = mailSubject
MyMail.Body = mailBody
MyMail.Cc = sendCC
SmtpMail.SmtpServer = "mail.crestcomputers.com"
SmtpMail.Send(MyMail)
It can only send mail to adresses known on the server.
I'm using MS VS.Net 1.0
Thank you
Frank Vandeven
Belgium
__________________
Frank Vandeven
Belgium
|