Sorry for any confusion, I am writing an application that will be used by many people on a network. When I use Mail::Sendmail to send an email, I have to tell it where the mail is coming from, in other words, the email address of the current user. I need some way to detect that.