a simple script to connect to authenticate against an smtp server and deliver an email