Home | Articles|Namespace|Interview Questions|Tools|Jobs|Projects|Community
Asp.net Tutorials

»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books

»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects

»Competition
Community
Winners
Prizes
Write For Us
Members

»Other Resources
Links
Dotnet Resources


Forums»Introduce Yourself!!!»



regarding sending mail to gmail account

i am trying to send mail by creating the C# application but i am not able to send . Can u tell me what may be the probable cause
posted by:anonymous on 9/13/2007 2:09:17 AM
hi

you can use this coding...

using System.Web.Mail;


string to = "mail Id";
string from = "Mail Id";
string sub = "";
SmtpMail.Send(from, to, sub, "body of the mail");

And in IIS u should add the following 127.0.0.0
posted by:sharmila on 9/24/2007 10:32:56 PM
© 2008 dotnetwatch.com -- Privacy policy

Website Design & Internet Marketing by Shivam