How does Mail Get into ($Alarms)

Greetings,

I am developing an app that sends out appointments and that part works now. I want the appointments to alert the recipient about the appointment at the time that I want them to be reminded (I know its annoying but its a requirement). All the alarm fields are geting properly populated but still no alarms unless I manually copy the appointment document into the ($Alarms) folder.

Is there some way to tell the Router to copy these documents into ($Alarms) at the same time that it is copied to Inbox? Perhaps some field that I am not aware of? There is no way I can get all my recipients to create after mail arrives agent just for me :frowning:

Help,

Bob

Subject: Are you emailing the appointment or …

creating it directly in the users mail file?

Subject: RE: Are you emailing the appointment or …

Alan,

I am eMailing.

Any ideas?

Bob

Subject: only suspicions :slight_smile:

I suspect that in the standard mail template,

that setting an alarm is seen as a user choice and is therefore driven through UI elements

If that is the case there may not be a built in method to achieve this

I’ll do a bit of exploring in the mail template

More later

Subject: Alan is correct - RE: only suspicions :slight_smile:

The movement of the calendar entry is done by the UI script in the Mail database.

I had a similar issue and found that I needed to manually move the Calendar Entry I had created into the ($Alarms) folder in my external script.

Once I had moved the item into the ($Alarm) folder the alarms started working properly. I don’t know your specific requirements but I believe you’d need to create an agent in the mail file to process these requests as they come in or have an external database that’s got a scheduled agent which goes out and checks the mail db of the users the message were sent to and processes your email messages in those mail dbs. There is probably a better way but that’s what I can come up with on a spur-of-the-moment.

Subject: How About Using Store Form in Document

Jason,

Thanks for confirming.

I could try storing the form in the documents, but what form event would give me a chance to copy to folder?

Bob

Subject: FYI - I can Get the Receipinets to Create Rules

I have negotiated with the application’s requestors and gotten them to agree to have the people who are going to receive my eMailed appointments to create a Rule in thier mail db’s to copy the appointments to ($Alarms). AND IT WORKS!