You have to understand, the SmtpMail class works by using COM-InterOp to communicate with *SMTP Service* running on local Windows system.
To successfully send an email using SmtpMail, you'll first have to install and start SMTP Service on your Windows 2000, XP machine. SMTP Service comes free with your Windows 2000, XP OS.
To make sure it is started and running, try following command at Command Prompt:
net start smtpsvc
If it is installed but not started, it'll start. If it is already running, you'll see a message about it. If it is not installed you'll know.