I am unable to send the mail using smtp client. here is the code:
SmtpClient client=new SmtpClient(\"Host\"); client.Credentials=new NetworkCredential(\"username
It means your mail server does not allow Mail-Relay. Your mail server only allows you to send mail from authenticated email-id as username. Generally this is done to prevent mails being sent as different identities other than the authenticated one.