hi i want to send mail using C# but i cant this is my code: MailAddress from = new MailAddress("negin_sarkhosh22@yahoo.com", ":: safir187.com ::"); MailAddress to = new MailAddress("sara_sarakhanom22@yahoo.com", ":: tnz187 ::"); MailMessage message = new MailMessage(from, to); message.Subject = "Safir187.com is updated!"; message.IsBodyHtml = true; message.Priority = MailPriority.High; message.Body = "wedqwe"; SmtpClient client = new SmtpClient("localhost"); client.Send(message); please tell me my mistake thanks
sobhaniir
Posts
-
send mail using C# -
[Message Deleted][Message Deleted]
-
right click on gridhi how can right click on a row og datagridview and select thats row?
-
right click on gridhi i want to right click on a row of grid and thats row is selected i can select that row but the returned data is wrong in fact return data of first row please help me thanks a lot
-
Help me !!!!!!!!!!!!!!!!!!!!!!!!! in Process [modified]hi i have process.StartI("projet1.mpp") in my code sometimes this code run successfully and run the msp projects but sometimes this code contain error in trace code process is null and i dont know thats reason can any one tell me thats reason and its solution? thanks alot
modified on Monday, February 18, 2008 11:58 PM
-
processwhat this?
-
processhi i want to use process that execute an msp project in my code when i run code some times the process is null and cant run process.waitforexit but sometimes the process is not null and execute successfull please tell the reason thanks a lot