in reply to Store Lotus Notes Email


assuming you use the script here (as guessed by hippo), try to switch to the reply by NateTut and use his variant. There the filename is set by the line:

my $FileName = sprintf("%04d_Message.txt", $num);
You want to change this, e.g. by putting the subject in front
my $FileName = $subdir ."_". sprintf("%04d_Message.txt", $num);
If you want to access the received-date of the mail, you can have a look at $doc->{received}->[0]. This string contains the date/time (and more, so you have to extract it).

HTH, Rata