I would like to send mail to a predefined group when the document is closed and saved. I would like to do this in a discussion database whether it is a new document or a response.
Thank you in advance.
Bruce
I would like to send mail to a predefined group when the document is closed and saved. I would like to do this in a discussion database whether it is a new document or a response.
Thank you in advance.
Bruce
Subject: Querysave send mail
And?
Are you looking for someone to write the code for you (if they are willing, I’ve got a few applications they could write for me whilst they are at it)?
I tend to find that the best way to learn something is to have a go, and then ask questions when I hit a problem.
If you are struggling for a starting point, try looking in the designer help for the Notesdocument.send method. Example 6 should get you some of the way there:
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
doc.Form = “Memo”
doc.SendTo = “Elissa Minty”
doc.Subject = “Here’s the document you wanted”
Call doc.Send( False )
HTH - Rufus.
Subject: This is what the MailOptions field is specifically designed to do.