Does your pc that it will run on have an SMTP server installed that it can respond to the .NET SMTPClient stuff?
What are you trying to configure? And where?
i am using vb .net 2003. i want to send email in my project.i am having my client smtpserver name. i have no idea about how to install SMTPServer and how to configure the client SMPTServer name in my code to send mail. please help me. this is very urgent.i attach my code hear;
Dim MailServer as string
dim strSubject as string
strSubject = "Acknowledgement"
MailMessage msg = new MailMessage()
msg.To = "devi@rediffmail.com" ' To Address
msg.From = "muthu@rediffmail.com" ' From Address
msg.Subject = "Test mail" ' Subject of the mail
msg.Body = "Hi How are you?" ' Type your message
msg.Priority = MailPriority.High ' Set the mail priority
msg.BodyFormat = MailFormat.Html ' MailFormat Html or Plain Text
SmtpMail.SmtpServer = MailServer ' Set the Mail server
try
{
SmtpMail.Send(msg)
}
catch (Exception e)
{
lblErrorMsg.Text = "an error occured in sending the mail! pls
check your id"
}