Sure. It's just a very simplistic SMTP transaction. This is pretty much exactly what your mail client does, although it uses some more advanced options.
_________________________
Bitt Faulk