Problem solve Get help with specific problems with your technologies, process and projects.

Copy external e-mail addresses on mailsend with doclink

I have designed a database for literature requests. This includes quantity of brochures, fliers, pens, etc., to send to representatives. Once the order is filled and completed, I do a "mailsend" with a doclink to the internal people to see what was sent. I want to send a copy to the sales reps as well (external e-mail address). How can I do this? Thanks in advance for the help.
There are two potential ways to make this work. Both will require LotusScript or Java coding.
  1. You can get a little creative with LotusScript or Java and create Notes Document Link (NDL) files and send them as attachments to external users. As long as those users have the Lotus Notes client installed and the .NDL file extension is properly associated with Lotus Notes, launching the .NDL file will launch Notes and automatically open the document.

  2. You may also be able to send external users a URL link built with the Notes protocol. The Notes protocol provides a way to create a URL that launches a Notes database, view, document, etc. It has this format:


    You can get this information manually for a document (in R5+) by selecting a document in a view, opening up the document properties infobox and choosing the <+> tab. At the bottom of the infobox, you will see the full Notes protocol URL to open that document. You can also use LotusScript to programmatically build the URL with the information above.

Caveats: The Notes protocol works in R5+, but prior to version 5.0.9, installations of Lotus Notes did not automatically set the proper registry setting for the Notes protocol to work.

For more details (and caveats) on these techniques, please refer to the following Lotus Advisor articles:

Send Notes Links Outside of Domino
Make Notes Links Work for You
Integrate Notes Client Data into Your Portal

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on LotusScript

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...