System.Web.Mail Blocks Isdn or Adsl Connection

Hi , i want to share my smtp expirence

in c# we can send mail using IIS Smtp with .NET SendMail Function Like This.

-Step 1
Control Panel->Administrative Tools-> IIS

in Smtp Properties , set ip is your local ip or net ip..

And write this code in .net :
(add System.Web to project references)

System.Web.Mail.MailMessage Mes=new System.Web.Mail.MailMessage();
Mes.From="you@domain.com";
Mes.Subject="Example";
Mes.Body="<center><font color=midnightblue>Example Mail</font></center>";
Mes.BodyFormat=System.Web.Mail.MailFormat.Html;

System.Web.Mail.SmtpMail.Send(Mes);

..
if u want to send one or two mail.. its work fine. but if u want to send more mail
like 100-150 etc.. its lock your smtp .. locks your isdn..

im waiting for replies.. and i will answer this problem..

[1051 byte] By [OguzBastemur] at [2008-2-8]

.NET Development

Site Classified