If you don't know, Lotus Notes is an email client used in a lot of companies around the world. Therefore, I use it at work everyday, but someday I needed to send an automatic email to a few people all Fridays at 10:00.
To get this task accomplished I decided to create an agent and avoid remembering the fact of sending the email. As you can image, I did this example on a Spanish version of Lotus Notes 8.5 but I will explain it clearly enough.
The first step is getting yourself into the inbox, then select the "Create" menu item and inside of it, click on "Agent...".
You will get a dialog box opened, in this we have the possibility of setting the rules for this agent. However, in this case we will only set "Trigger" option to "On schedule" with the "Weekly" frequency.
Don't forget to push the "Schedule..." button to program the agent in the right way. After this, select "OK" and close the dialog box.
What is next is obviously the saving action, which is inside "File" menu item.
Remember that you just have configured the time of the agent, what is missing is the set of actions this agent will perform, so address to the "Run:" section, where you can read a read-only list showing "Client" and a second one with few alternatives. "Simple Actions" will be selected this time.
As we want to send an email, then we have to push the button "Add action..." which is located below and will display a dialog box where we are going to select the "Send Mail Message" option from the "Action" list.
Once we have selected the action, it's time to complete the required fields and push the "Replace" button.
Now, we have the action configured, but it doesn't work as easy as it seems, the key is to also define a number of documents which will work as filters to trigger the action, it's a little tricky, then, you have to use the left panel (Objects) to click on "Document Selection".
Once you are in the document panel, below you can see the "Add condition..." button, push it, and in the dialog box which is shown select "In folder".
If you select "In folder" condition you will have the opportunity to select the folder which will be considered by the agent to be processed.
Finally, you have to save the agent and let it work by itself.
But... why did I choose a folder as a condition? Because this was the only manner I could make the agent work how I liked it, therefore I created a folder with only one message inside it (any email) and it's now the condition, thus, when the agent begins its task it goes to the folder, find one message inside and only send one email (defined in the agent).
When I didn't use this trick the agent sent a lot of messages, I mean, the same message configured in the agent but sent more than once.
Well presented information with images helps to clearly understands the procedure of sending email in Lotus Notes. Thanks!!!. You deserve it.
ReplyDeleteI also want to share with you a blog (http://www.lotus-notes-recovery.blogspot.com) dedicated to share problems associated with lotus notes corruption situations and their resolution. Information really could be helpful for somebody facing highly database corruption situation.
Hi! thanks for you comment, as you mention it's always helpful to have this kind of resources, sharing knowledge is something that needs to be done.
DeleteThank you very much , nice presentation !
ReplyDeleteThanks to you for reading it =)
DeleteThanks this was just what I was looking for. Any thoughts on how to do this every second week?
ReplyDeleteSorry for answering you too late! I have no idea, I was trying but with no success.
DeleteMuchas Gracias Rony. That's cool! I have been struggling to send an e-mail through MS-Access without success.
ReplyDeleteKesh
Thanks to you =)!
DeleteWorked for me. Many thanks
ReplyDeleteThank you! =)
DeleteDude,
ReplyDeleteThat was awesome! Thank You very much!
I'm programming it to send repeatedly to some clients...
Thank you!!!
Deletedear but its not running automatically
ReplyDeleteReally? because for me it actually is.
DeleteHow to send email automatically with attachment?? thanks
ReplyDeleteHi!! Have you tried using "Send a document" as an action?
DeleteMany Thanks, worked for me!, but how can I edit the message or remove the agent?, thanks
ReplyDeleteThanks to you! Well, to remove the agent go to "View", "Agents" and once you are there select the agent and right click over, you will see the "Delete" option, you can use also the "Edit" option.
DeleteHi, Do you have to be logged in for it to occur...say every friday at 10:00, or it just happens??
ReplyDeleteHi! that's a very good question, I suppose that it depends of the database you are using, you can help me trying this =)
Delete