in reply to Where is the Email coming from?

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.

Replies are listed 'Best First'.
Re: Re: Where is the Email coming from?
by mr_sparkle (Scribe) on Jun 05, 2003 at 20:50 UTC
    Don't know if this is an option, but if you use MIME::Lite and leave the From line blank it defaults to the userid on the server.