updated to include a working smtp (simple) using write

Signed-off-by: Graham Chiu <compkarori@gmail.com>