I had problem sending mails through asp.net, even after writing the code.
But after providing the IP address of my pc in the relay option in IIS, the problem finally got solved.
But now the problem is that the same code when I tried to run on a pc which was a local server, I still face the problem.
I write the follwing code
dim mm as new mailmessage
smtpmail.smtpserver="theip addrss of the local machine"
The above code runs succesfully on one pc, which is a normal client pc, but when run on a server machine, mail are not sent.
Can u plz help me out?