Naboo

Thursday, November 17, 2005

Setting up SMPT relay in .NET
The following steps are to set the permission:
1. Go to Start->Settings->Control Panel->Administrative Tools->IIS Maneger (Internet Information Services).
2. Go to Internet Information Services->Localhost(local computer)-> smtpserver.
3. Right Click smtp server and click properties.
4. In properties dialog ... General (tab) -> Check Name and IP of local computerClick Advance if list is blank Add local computer IP and TCP port 25.
5. Click on Access Tab... Click Relaya. Select Only the list below (option).b. if list is blank Add local computer IP.c. if you want to send mail from other computer of the networkadd that computer IP also and in list you will see Granted (IP). d. check true allow all computer ........
6. Ok then Apply (lol).Try the program now with System.Web.Mail.SmtpMail.SmtpServer = "127.0.0.1" (smtp server ip)...

0 Comments:

Post a Comment

<< Home