fixed check for SMTP username and password
fixed spacing