I am not be able to import web.net.mail.smtpclient library in my
project.
I want to use mail function in my one form and for that smtp mail, I
need this library.
Plese give me some solution for that.
I am using this coding:-
============
SmtpClient smtpClient = new SmtpClient("server IP Address");
MailMessage message = new MailMessage
("
office@...@sender.com", "
*******@...");
message.Subject = "Subject of Email";
message.Body = "<H2>Testing HTML Email</H2>";
message.IsBodyHtml = true;
smtpClient.Credentials = new NetworkCredentials
("****@****.com", "password");
smtpClient.Send(message);
=================
-- Jagdeep Mankotia