public
{
System.Net.Mail.
message.IsBodyHtml =
message.Subject = emailSubject;
message.Body = emailBody;
smtpClient.Send(message);
}
}So when the adminstrator clicks the button, it is going to fire off an email to a group of people. The problem I have is that I am getting this error:"Mailbox name not allowed. The server response was: Sorry, that domain isn't in my list of allowed rcpthosts."And it points to the line, smtpClient.send(message)When I run it, I actually have email addresses and an smtpOut server in there. I just didn't include them in here for security sake. Anyone have an idea what is causing that error?Thanks.