Read mail settings from config.
Read mail server port from config.
Fixed error in sending welcome email.