in reply to Variables and Strings
ended up going with:
my $emailname=$defaults{Mail}{FromName}||""; my $emailaddr=$defaults{Mail}{From}||"$ENV{USER}"; my $emailcombined='"' . $emailname . '" <' . $emailaddr .'>'; my $msg=MIME::Lite->new( 'From' =>$emailcombined, etc
I would still be interested in other ways to do this.
Thanks.
|
|---|