Add other smtp mail server support

I needed to use another mail server beside Gmail. I change the code and config file to be able to use other SMTP servers with different ports and secure  (ssl/tls) options.