Issue in sending mail from web applicaiton

Issue in sending mail from web applicaiton

Hi,

I've tried to use zoho from my c# application. It's working fine in local host but when I hosted my application in plesk panel (india reseller windows hosting.) it stopped working.

The code as follows.

System.Net.NetworkCredential basicCrenntial = new System.Net.NetworkCredential(" test@careergrape.com", "******");
                MailAddress fromAddress = new MailAddress(" test@careergrape.com", "www.careergrape.com", System.Text.Encoding.UTF8);
                smtpClient.Port = 587;
                smtpClient.EnableSsl = true;
                smtpClient.Host = "smtp.zoho.com";
                smtpClient.UseDefaultCredentials = true; 
                smtpClient.Credentials = basicCrenntial;
                message.From = fromAddress;//here you can set address      
                message.To.Add(Mail2);//here you can add multiple to
                message.Subject = Subject;//subject of email
                message.SubjectEncoding = System.Text.Encoding.UTF8;
                message.Priority = MailPriority.High;
                message.IsBodyHtml = true;//To determine email body is html or not
                message.Body = @Body + FooterImg;
                smtpClient.Send(message);

Thanks 
Mukhtar