I don't know which "mail" program you are using, so I can't be sure of this answer. But oh well, may as well try!
It might mean "set the environment variable FROM to the username you want". In that case, and assuming you use bash shell, you could try this:
Please check the manual pages for your mail program and your shell to figure out the correct answer.