Search the web
Sign In
New User? Sign Up
ydn-dotnet · CLOSED: Yahoo! .NET Developer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Web.net.mail.smtpclient Problem   Message List  
Reply | Forward Message #147 of 263 |


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 = "&lt;H2>Testing HTML Email</H2>";
message.IsBodyHtml = true;
smtpClient.Credentials = new NetworkCredentials
("****@****.com", "password");
smtpClient.Send(message);
=================


-- Jagdeep Mankotia




Tue Mar 18, 2008 6:20 am

jagdeepmankotia
Offline Offline
Send Email Send Email

Forward
Message #147 of 263 |
Expand Messages Author Sort by Date

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...
Jagdeep Singh Mankotia
jagdeepmankotia
Offline Send Email
Mar 18, 2008
6:20 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help