About This Code
Brief Description:
Automated Dear XXX,
Notes Version:
R6.x, R5.x, R7.x
Last Modified:
14 Jun 2006
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
How to automaticaly add Dear XXX, into your mails ?
Even though very basic, this is working fine for most of lotus adresses. It could be improved to behave smarter with internet adresses...
Usage / Example
2 ways to do that:
1)
Create a stationary memo - go to create - computed text - and enter :
"Dear " + @Text(@Left(@Name([CN]; EnterSendTo);" "))
as the formula.
2)
Go to file menu - preferences -toolbar preferences - customize - add new button - formula is :
@Command([EditGotoField];"body");
@Command([EditInsertText];"Dear " + @Text(@Left(@Name([CN]; EnterSendTo);" ")) + "," + @NewLine)
click on this new button with the focus on an editable document.
Comments
Posted by F Hesse on 06/16/2006 09:31:00 AMextra
If you share a mailfile and you want to sign it you can use the following code :
@Text(@Name([CN]; From))
@Text(@Left(@Name([CN]; From);" ")) (first name only)
optionnaly add:
+ @newline + "my title"
More dangerous : If you want a mail intended to many people to look personnal use the following code :
@Text(@Name([CN]; @username)) + "," + @newline
"Dear " + @Text(@Left(@Name([CN]; @username);" ")) (first name only)