Hi there,
Is this related to the book ASP.NET Instant Results? If so, can you specify chapter and/or page number? If not, you're better off posting this in one if the general ASP.NET categories here at P2P as more people will be able to help.
Anyway, take a look at the error message:
No connection could be made because the target machine actively refused it
This says that your mail server is refusing a connection. You'll need tot talk to your ISP / the owner of the mail server to resolve this. Maybe you need to pass a user name or password to connect?
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
Beginning ASP.NET 3.5 : in C# and VB,
ASP.NET 2.0 Instant Results and
Dreamweaver MX 2004
Want to be my colleague? Then check out this post.