.
HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1
212-599-2048
Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development
Chat now
.
EN - English
CN - 中文
JP - 日本語
DE - Deutsch
FR - Français
BR - Português
RU - Pу́сский
IT - Italiano
IN - हिन्दी
ES - Español
KR - 한국어
ID - Indonesia
NL - Dutch
TR - Türkçe
SA - العربية
SE - Svenska
NO - Norsk
PL - Polski
TH - ไทย
DK - Dansk
MY - Malay
PH - Filipino
GR - Ελληνικά
FI - Suomi
IL - עברית
IE - Gaeilge
CZ - Čeština
UA - Українська
RO - Română
VN - Tiếng Việt
BD - বাংলা
HU - Magyar
Need a Domino Consultant? Call NotesMail +1 212-599-2048
-
HCLSoftware Business Partner
LOTUSSCRIPT/COM/OLE CLASSES
Examples: CreateReplyMessage method
1. This script creates a reply to a mail memo and sends it. The reply is sent only to the original sender of the memo, and contains a Body item but no Subject item.
Dim memo As NotesDocument
Dim reply As NotesDocument
'...set value of memo...
Set reply = memo.CreateReplyMessage( False )
reply.Body = "This reply was generated by a script"
Call reply.Send( False )
2. This script checks if a mail memo was sent by an agent. If not, it creates a reply to the mail memo and sends it to all recipients of the original memo. The reply contains a Body item and a Subject item. For example, if the original memo has a Subject of "Building renovations," then the reply gets a Subject of "Re: Building renovations."
Dim memo As NotesDocument
Dim reply As NotesDocument
'...set value of memo...
If Not ( memo.SentByAgent ) Then
Set reply = memo.CreateReplyMessage( True )
reply.Subject = "Re: " & memo.Subject( 0 )
reply.Body = "This reply was generated by a script"
Call reply.Send( False )
End If
See Also
CreateReplyMessage method
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Feedback on
Help
or
Usability
?
Help on Help
All Help Contents