No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
HI All, I have ollowing code to delete the image by using File.Delete(fileNamefordel + ".jpg"); function. It works fine on local server but not on uploaded server. string fileNamefordel = Server.MapPath("StdImage") + "\\" + (Session["lCandidateID"]).ToString(); if (File.Exists(fileNamefordel + ".png")) { File.Delete(fileNamefordel + ".png"); } if (File.Exists(fileNamefordel + ".gif")) { File.Delete(fileNamefordel … |
|
I have email sending problem through ASP.Net by the following class. Email goes fine on our own server but it doesn't send email on other servers especially yahoo and hotmail. If anybody helps whats the problem //////////////email class///////////////////// [code]private void SendMail(string mailBody) { //Create message object and populate w/ data … |