The mail object does not support passing username and password to the SMTPO server.
if you need to pass authentication to the SMTP server, you will need to delete the Universal Email code from the page and re apply the UE Behavior, in the SMTP server settings, select to use the Pear Mail Object
as for adding the port, it is the second argument.
$WA_MailObject = WAUE_Definition("<server>","<port>","<organization optional>","<xMailer optional>","<pass from address as extra parameter optional>","<character set>");