How Do I set up a Scheduled Lotus Note email?

5 pts.
Tags:
Lotus Notes
Lotus Notes Automation
Lotus Notes Email Replication
Lotus Notes Scheduled Emails
Lotus Notes Scheduling
Scheduled Tasks
Here's the deal, i'm attempting to get an email sent out at 730 without me being there...i read something about Replication, but it just doesn't make sense to me...i'm not trying to copy my whole lotus notes i just want it to send out a pre written email at that time!

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is vbscript that I use to use:
*********************************************************************
Const EMBED_ATTACHMENT = 1454
Set nSession = CreateObject(“Notes.NotesSession”)
‘Gets the current user’s mail database
Set db = nSession.GetDataBase(“”,””)
If Not db.IsOpen = True Then
db.OpenMail
End If
Set doc = db.CreateDocument
doc.Form = “Memo”
doc.Sendto = “myemail@mail.com”
doc.Subject = “Test message”
doc.Body = “Did you get it correctly”

‘Set up the embedded object and attachment and attach it

sAttachment = “C:\DatabaseRename.log”

Set AttachME = doc.CreateRichTextItem(“Attachment”)

Set EmbedObj = AttachME.EmbedObject _
(EMBED_ATTACHMENT, “”, sAttachment, “Attachment”)

doc.Send(False)
*********************************************************************
Save as a vbscript and make a scheduled task out of it.

****NEW IDEA****

Not that the above is necessarily wrong, it assumes you know how to use VBScript and a system timer to throw the event at 7:30. Within the Notes client though, there is an easier way, if your account has the rights to create agents. Open your mail file (this does not have to be done in your mail file, it just seems to be the most logical server based database to do it from), go to the Create menu, and choose Agent. This will likely start as a “Simple Action(s)” type of agent. Use the “Add Action…” button in the lower left, and from the first drop down choose “Send Mail Message”. Fill out the information as needed and click OK. Then schedule the agent to kick off at 7:30. You can set it to just run once in the schedule interface, or it can run everyday. If the message needs to change everyday, you may need a different approach, but I did not want to make assumptions. I can help if I have more information.

Mike K
mkinder@acadiasolutions.com

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following