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

Retrieve user ID file as attachment in new mail using LotusScript

How can I retrieve the user ID file as an attachment in a new mail using LotusScript?
The location of the ID file is kept in the notes.ini file and is the value of the environment variable KeyFilename. The following will access the value and place it in the strVAlue string, which you can then use to attachÉ the file to the new document.
Dim session As New NotesSession
 Dim strValue As String
 strValue = session.GetEnvironmentString
( "keyfilename" , True)

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 ...