Skip to main content

alphaWorks  >  Forums  >  Lotus Notes Command Line Email Client  >  developerWorks

The --adjust-day option    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is answered.

Permlink Replies: 2 - Pages: 1 - Last Post: Sep 23, 2009 1:47 PM Last Post By: IsaacCheng Threads: [ Previous | Next ]
IsaacCheng

Posts: 2
Registered: Sep 21, 2009 07:59:47 PM
The --adjust-day option
Posted: Sep 21, 2009 08:07:16 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi. I have trouble getting the --adjust-day option to work. For example,

notescli.cmd --adjust-day=3 --database-name=myMailDb.nsf --output-format=dfs --delim="|" list

returns every mail instead of mail within the last four days.

The documentation says:
--adjust-day=ARG Adjust cutoff day. Use integer value (1=mail today and yesterday, 2=mail from day before yesterday until today, and so on). No cutoff date means either "no cutoff date" or "today only" and it depends on command context.

My version:
notescli.cmd notes-version
Lotus Notes Command Line Email Client v3.2.0
Copyright (C) 2002, 2009 by IBM Corporation.

Notes version: Release 8.0.2 HF623|January 16, 2009 (Windows/32)
Java version : 1.6.0
OS version : Windows XP, 5.1 build 2600 Service Pack 3, x86
SamiSalkosuo

Posts: 26
Registered: Aug 02, 2005 06:44:57 AM
Re: The --adjust-day option
Posted: Sep 23, 2009 03:53:30 AM   in response to: IsaacCheng in response to: IsaacCheng's post
 
Click to report abuse...   Click to reply to this thread Reply
Please use today-command instead of list-command. That should work.

Thanks for noticing that. In the next version, I modify the code so that adjust-day option also works with list-command.
IsaacCheng

Posts: 2
Registered: Sep 21, 2009 07:59:47 PM
Re: The --adjust-day option
Posted: Sep 23, 2009 01:47:08 PM   in response to: SamiSalkosuo in response to: SamiSalkosuo's post
 
Click to report abuse...   Click to reply to this thread Reply
Indeed, today --list works with the --adjust-day option.

notescli.cmd --adjust-day=3 --database-name=myMailDb.nsf --output-format=dfs --delim="|" today --list

Thanks.

Point your RSS reader here for a feed of the latest messages in all forums