Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Store Lotus Notes Email

by Ratazong (Monsignor)
on Mar 18, 2014 at 14:32 UTC ( #1078789=note: print w/replies, xml ) Need Help??


in reply to Store Lotus Notes Email

Hi,

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078789]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2018-07-18 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (383 votes). Check out past polls.

    Notices?