G
Guest
I have an ASP.NET application using .NET Framework 1.1 running on a Windows
2003 server. The application uses SMTP to send emails.
My source code is as follows:
Dim a As New MailMessage()
a.From = "(e-mail address removed)"
a.To = "(e-mail address removed)"
a.Subject = "Hello"
a.BodyFormat = MailFormat.Text
a.Body = "Test message"
SmtpMail.SmtpServer = "mail.domain.com" '"202.157.142.31"
SmtpMail.Send(a)
The error occurs as follows:
The server rejected one or more recipient addresses. The server response
was: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1)
Any help me to correct the error.
2003 server. The application uses SMTP to send emails.
My source code is as follows:
Dim a As New MailMessage()
a.From = "(e-mail address removed)"
a.To = "(e-mail address removed)"
a.Subject = "Hello"
a.BodyFormat = MailFormat.Text
a.Body = "Test message"
SmtpMail.SmtpServer = "mail.domain.com" '"202.157.142.31"
SmtpMail.Send(a)
The error occurs as follows:
The server rejected one or more recipient addresses. The server response
was: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1)
Any help me to correct the error.