Obtains a valid e-mail address based on a partial or full user name and optionally updates information in the system’s address list if the user has privileges to do so.
mailSession object
mailsession.mailResolveRecipient ( recipient {, allowupdates } )
mailReturnCode. Returns one of the following values:
mailReturnSuccess!
mailReturnFailure!
mailReturnInsufficientMemory!
mailReturnUserAbort!
If any argument’s value is null, mailResolveRecipient returns null.