Skip to main content
developerWorks
 
      
Provided by IBM
   developerWorks   >   My developerWorks   >   Spaces   >  

Lotus Notes Command Line Email Client


Tags for this space: 
  View the non-JavaScript version
  Welcome guest  |  Sign in
Development update
17.11.2009 Version 3.3.0 released in alphaWorks site. It includes all previous fixes as well as preliminary support for sending HTML mails.
 Add feed  
[X
CHANGES v3.3.0
  • Added --principal option to send-command. This specifies and overrides from-address in email.
  • Added appointments-command to list future appointments.
  • Fixed a bug when sending mail with cc- or bcc-addresses.
  • Made --server option mandatory when using replicate command.
  • Fixed bug related sending mails where body is larger than 32k.
  • Prelimary support for sending HTML mails.
 Add feed  
[X
Development update
Updated 13.11.2009.

Update on sending HTML mail coming soon...

Updated 23.10.2009.

Fixed bug when body length is more than 32k.

Updated 15.10.2009.

Bug reported via forum about reading mail body from text file. Investigating it...

Updated 23.9.2009.

Bug fix reported via forum about --adjust-day that it does not work with list-command. It (should) work with today-command.

Updated 17.9.2009.

No updates in past couple of weeks.

Updated 3.9.2009.

Bug fix in replicate command.

Updated 24.8.2009.

No new development in last week. I'm busy doing other stuff :-)

Updated 14.8.2009.

Fixed bug in CC addresses (see below for steps to apply the fix). See also this forum post.

 Add feed  
[X
Automate...
Automate.. Automate...
 Add feed  
[X
Business Processes...
businessprocesses Business Processes...
 Add feed  
[X
...and enjoy!
andenjoy ...and enjoy!
 Add feed  
[X
developerWorks offers
 Add feed  
[X
Development
development Development TAB has content about NotesCLI development. For example, extension functions, improvements etc.

Check also Twitter feed for updates.
 Add feed  
[X
Group space

Description: Lotus Notes Command Line Email Client (NotesCLI) space is targeted to users of NotesCLI. Space contains ideas, suggestions, etc about the development and usage of NotesCLI.

 

Group type: Public

Date created: 10 Jun 2009

Fix body length bug
Fix bug when sending mail with more than 32k body
Mail is not sent if mail body length is more than 32k (applies to versions 3.0.0, 3.1.0 and 3.2.0). This fixes the bug.

  1. Open lib/notescli3/Mail.py file and find following line: if newMailDocument.replaceItemValue("Body",body)
  2. Replace the above line with two lines below:
    richTextBody=newMailDocument.createRichTextItem("Body")
    richTextBody.appendText("%s" % body)
  3. Save and close file.
 Add feed  
[X
Fix replicate bug
Fix bug in replicate command
Replicate command does not work if --server is not specified (applies to version 3.0.0, 3.1.0 and 3.2.0). This fixes so that NotesCLI informs error if --server option is not specified. Details here.

  1. Open lib/notescli3/Mail.py file and find following line: if server==None or server=="":
  2. Delete line below and add following instead:
    Output.println("[ERROR] Replication server must be specified.")
    return -101
  3. Save and close file.
 Add feed  
[X
Fix CC bug
Steps to fix bug when sending mail with CC addresses
There is a bug in versions 3.0.0, 3.1.0 and 3.2.0 that sends email with CC-address to unknown/wrong recipients.

Use the following steps to fix it:
  1. Open Mail.py file in lib/notescli3-directory
  2. Find following line: for cc in ccList:
  3. Add following line before the line you found in previous step: ccList=ccList.split(",")
  4. Similar steps for bcc: find following line: for bcc in bccList:
  5. Add following line before the line you found in previous step: bccList=bccList.split(",")
  6. Save Mail.py and test.
 Add feed  
[X
NotesCLI and Jython 2.5
Jython 2.5 was released quite recently. I tested NotesCLI with it but it does not work. So do not try to use Jython 2.5.
 Add feed  
[X
Add Principal
Add --principal option
Add new --principal option to NotesCLI. Can be applied to NotesCLI versions 3.0.0, 3.1.0 and 3.2.0
  1. Go to NotesCLI installation directory.
  2. Open file config/notescli3.cfg.
  3. Find line with text "send.--replyto".
  4. Add following line below "replyto" options
    send.--principal!: Override email sender. Remember to add Notes domain after email, for example: sender@somewhere.com@NotesDomain.
  5. Open file lib/notescli3/Mail.py.
  6. Find line "sender=session.getUserName()".
  7. Add following after the searched line:
      principal=Util.getOptionValue("principal", cmdOpts)
      if principal is not None:
        newMailDocument.replaceItemValue("Principal",principal)
    
  8. Verify the indentation of the inserted text.
  9. View help using --help option. You should see new principal-option in send-command
  10. Send mail using command:notescli.cmd send --to=recipient@mail.com --principal=Somebody@somewhere.com --subject="test test" Recipient should get mail where sender appears to be somebody@somewhere.com.
 Add feed  
[X
    About IBM Privacy Contact