I don't want to be funny, but did you replace smtp.YourProvider.com with an actual valid SMTP server provided by your ISP??
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004