Hi all,I need to create an agent in LS in order to send a mail which contains the values of the fields of my Form (WEB)
The mail is always sent to the same adress (fixed in a SendTo field)
I already made an agent but in formulas and it is not possible to do something like that:
Name:
Lastname:
Adress:
…
…
Could you help me please i am noob and i start in LS !
Subject: Making an agent which sends mails in LS?
You will find samples in1) on-line help
-
Sandbox
-
Agent FAQ
Once you write your agent and have problems with it you can post your code here and people will help you with problems. It is best to give it a try then ask for help fixing it, than ask someone to do it all for you from scratch.
Subject: Mail Script Library
I have a freely available script library that makes creating/sending mail messages so much easier and may be of interest to you.
It’s a LotusScript script library that can be easily dropped into any application/agent to send mail messages in Notes/Domino.
It includes the following features:
-
Initialises a new mail message
-
Handles all the mail document formatting & field values required by the router
-
Allows you to control the ‘FROM’ field so you can set it to whatever value you like
-
Easily set the SendTo, CC and BCC fields
-
Performs any necessary lookups to address books to get the correct email addresses and/or breakdown group names to individuals
-
Sends the message
-
And more…
All you need to do is tell the script who to send the message to, what From address you would like, set the Subject line and provide content for the body field. It’s that easy!
This script is fully supported and comes complete with documentation, examples and revision history. All code includes developer comments.
This script library is freely available and can be downloaded by clicking the following link:
Regards,
Alex Elliott
AGE Computer Consultancy