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...
dear 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 =)
DeleteHi
ReplyDeleteI just did it and only partially works. Since if i schedule and let it run by itself....
It didnt do anything :(
But if i click on RUN it will do the work, just fine.
I already set up to run in a specific hour, starting today... but no use... can you help me please?
Hi! have you set a condition to do the action?
DeleteYes, thanks a lot.
DeleteI already set the condition as you mention it. A folder with a single mail, just to send one single automatic mail. But it seems it doesnt trigger the schedule.
Whats could it be?
BTW thanks for your time.
Make sure that "Agent" window has in "Execution" area selected a value to "Apply to".
DeleteSorry but it never works, i try everything, but automatically cant be send. Anyhow, thanks for the tip and your time.
DeleteOhhh, what a pitty, unfortunately I don't have Lotus installed anymore to investigate deeper, good luck my friend =)
DeleteHi Where is the agent window with "execution" area?
ReplyDeleteThanks
Hi! second image of this post.
DeleteHi,
ReplyDeleteI'm finding that it will send the email out but just minutes after I save the agent and not at the specified time. Any suggestions? The fold I'm using is the drafts folder with one email in it, if that makes any difference.
Thanks
Hi! Make sure the option "On schedule" is selected in the agent window (image 2 of this post).
DeleteHow about adding your email signature you have in lotus notes to the message? I tried copy and paste but it all comes out in the same font all in one color and no company logo. Is the message box just for a real basic email with one color one font, no images to be sent out?
ReplyDeleteThanks
That's a good point I consider it's only available for simple text, maybe you can try to put HTML to see if it works.
Deleteany suggestions on how to send automated email alert in lotus notes with TABS...
ReplyDeleteHi! maybe you could try to send it in HTML, but I'm not sure if that it's possible.
DeleteHi,
ReplyDeleteThanks. It works for me.
Have one question. There is no record that mail is sent to user every day or Agent is working. There is no record in sent items also that you have send any mail on that day.
Hi! that's a good question, maybe it is required to the agent to make this step after sending the email, or save the document in sent folder as backup.
DeleteIs there a way to select more than one folder in an agent? Say I have several folders that I want to delete documents from that are over 30 days old but I don't want to create separate agents for every folder.
ReplyDeleteHi! I'm not sure, unfortunately I don't have Lotus anymore, good luck!
DeleteDear Ronald,
ReplyDeletethanks a lot for this tutorial. YOU 'saved' my day (and many future days as well). I ran a test and it works.
however, i would like to cancel the test now, but I don't find a way how to delete my test agent action...
HELP!
Tonja
Hi! I think you have go to "View" menu and there select "Agents" =)
DeleteDear Ronald,
ReplyDeletethanks a lot for your feedback. I was able to delete my test agent.
now I have a second problem. Although I have scheduled the Agent "daily", it seems that the autmated email only works once. the next day, it does not activate the message again. What am I missing?
thanks a lot again for your support.
Tonja
I'm not really sure, maybe you can play with the messages that are in yout temp folder.
DeleteHi Ronald, I have another problem.
ReplyDeletealthough I scheduled the agent to "daily" it does not seem to work. It does the action on the day that I start/enable the agent, but next day, it does not send the email. What can I do? Would you be able to help me again?
Tonja
I'm not really sure, maybe you can play with the messages that are in yout temp folder.
DeleteHi Ronald.. This is really nice. However, I am looking for a similar kind of help. Please could you help me?
ReplyDeleteIs there any way to have the Emails (reminders) drafted automatically in the Lotus notes "draft folder" if we have the contact names, information and message text listed in an Excel Sheet?
any way to hit a button and Lotus notes read's the Excel sheet's data and emails are drafted automatically? This would be a great help.. please suggest.
Hi! I suppose that it's possible to do what you are talking about, but no with the steps I provide but using programming. Although, I see complicated to use an Excel sheet as a input but everything is possible. : )
DeleteDear Ronald,
ReplyDeleteI need your help... related to this topic... that is to send an email notification to remind user that has already make a booking on a particular booking date at 08:00 am .... this is to ensure they won't forget about their booking ....should i use agent to trigger this? can u guide me? tq in advance
(suzieliana@gmail.com)
Hi! I consider that this can be done with the steps written here, you can send a subject like this "Don't forget your booking" : )
DeleteThe technique is great. I was very close but missed setting the "folder with one document" as the trigger.
ReplyDeleteThank you.
Thanks for reading! : )
DeleteThis comment has been removed by a blog administrator.
ReplyDeleteGreat blog article. I followed the steps exactly and soon will verify if it works. Notes is incredible complicated to simply send out an automated email! wow. THANK YOU.
ReplyDeleteHello, thank you so much, I followed the steps and is working, just it sends 7 emails instead of 1 :( . How can I fix this?
ReplyDeleteHi, did you created a folder with only one item in there?
DeleteI got it :) it sends for every document from folder 1 email and I had 7 documents. Thank you
DeleteJust one more question, is it posible to set a generic email adress as sender (our team email adress) instead of mine?
DeleteI think you can do that if you log into your team email account and create the automation there.
Delete