in reply to Where is the Email coming from?
%mail = ( To => 'you@there.com', From => 'me@here.com', Message => "This is a very short message" ); sendmail(%mail) or die $Mail::Sendmail::error;
I am lucky, since in my environment users' email addresses take the form firstname.lastname@domain.com, so I can use the Unix `ypcat passwd` to find their full name, and construct their email address from that.
If this is not possible, then perhaps a configuration file that maps userids to full email addresses is maybe the easiest (with all of its inherent maintenance headaches).
|
|---|