Examples: SaveMessageOnSend property
- This script sets the SaveMessageOnSend property for NotesDatabase
object doc to True:
Dim doc As NotesDocument
'...set value of doc..
doc.SaveMessageOnSend = True
- This example creates, mails, and saves a new document in the current
database. The document Form is set to Main Topic so that the document
displays properly in the database; the form is also mailed along with
the document so that the document displays properly in the recipient's
mail database.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
doc.SaveMessageOnSend = True
doc.Form = "Main Topic"
doc.Subject = _
"Here's a new document that's going to be saved and mailed."
Call doc.Send( True, "Carl Pycha" )
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.