Removed hard coded port value.

Added port value as parameter, 587 (for Gmail as default)