i am using for send mail my smtp server is "xxx.xx.x", its working fine. But now i am changing the mail server for emails. i am using new mail smtp server ip address is "xxxxxxx.xxx.xxx", in this case get the error like "The server rejected one or more recipient addresses. The server response was: 554 5.7.1 : Client host "
i am using the bellow code
Dim eMail As MailMessage = New MailMessage
eMail.To = "xxxxxxx"
eMail.BodyFormat = MailFormat.Html
eMail.From = "xxxxxxxx"
eMail.Subject = "intermedia mail test using 127.0.0.1"
eMail.Body = sMsg
SmtpMail.SmtpServer = "xxxxxxx 'AppSettings("MailServer")
SmtpMail.Send(eMail)
Thanks in advance