You definitely don't have to write an SMTP server and you don't need to install an SMTP server on your machine either to use the sample programs. Use Yahoo Mail or GMail or whatever and they'll provide the SMTP address. Gmail appears to be "smtp.gmail.com". I think you have to have the Yahoo Plus account to use their SMTP, but I'm not sure. If you download JavaMail, it comes with some examples.