fixed undefined variable for SMTP user name.