Sending modify instructions in plain text
To send modify instructions to a user
- Log in to the Mid Tieras an administrator.
- Open the AR System Email Messages form in New mode, and enter the following information:
- In the Mailbox Name field, select an outgoing mailbox.
- In the To field, enter the recipient's name.
- In the Reply To field, enter the email address of the incoming mailbox that has been configured to accept modify instructions.
- Enter other information as needed, for example, an organization.
- Click the Plain Text Body tab to create an outgoing message in plain text with the following information:
- AR System Server Name
- AR System Login and Password to authenticate a user
- Label Key to specify the security, which the administrator can supply in the outgoing message or the user can supply in the reply
- Action Label, to describe the type of action or instruction to be executed. In this example, the Action Label is set to Modify.
- Form or Schema name on which to execute the instruction
Request ID of the entry the user can modify
Optionally, you can provide field IDs or database names of fields that have values that can be modified. You must make sure the fields have permissions that allow users to make modifications.
The content of an outgoing message that a AR Systemadministrator sent through the outgoing mailbox of the Email Engineis as follows:Server: polycarp
Login: Joe User
Password:
Key:
Action: Modify
Schema: HD Incident
Request ID: 000000000000003
!536870913!:This message allows Joe User to modify Request ID 000000000000003 of the HD Incident form. The Problem Summary field has been specified in the outgoing message. Joe User can also modify additional fields in his email reply by adding more field IDs. The following figure shows an outgoing message you might send to a user:
A sample outgoing message sent by the administrator to a user
You can substitute field IDs for database names. For example, if the Problem Summary field is field ID 8, then you could replace the database name with its field identifier !8! and produce the same results:!8!:Optionally, you can enter comments before the field ID, for example:
Enter problem summary!8!:Because there are no content template labels, you can use a result template as its equivalent when performing a Modify action with incoming mail.
When you send the email, the Email Engine appends an internal label, @@Modify@@. The Email Enginegenerates an encrypted value for this label by using the Server Name, Schema Name, and Request ID as shown in the following figure.
If the @@Modify@@ label is found in the content of the email, the Email Engineprepends the encrypted value to that label. If more than one @@Modify@@ label is found, the encrypted value is prepended to all these labels.
- Click Send to send the mail from the outgoing mailbox to the user.
To reply to an email containing modify instructions
- Open your email client.
Joe User received an email that looks like the following figure.
The Modify instruction sent to a user Open a reply window for the email that contains the modify instructions.
You must reply to the same mailbox as the one from which the email was sent.
In the reply, modify parameters as needed.
For example, you could assign values for !8!, the Problem Summary field.Fill in any missing parameters as needed --- Login, Password (if there is a password), and Key. For information about creating security keys, see Testing-your-mailbox-configuration.
The following example shows the content of a sample reply from Joe User:Server: polycarp
Login: Joe User
Password: yadayada
Key:1234
Action: Modify
Schema: HD Incident
Request ID: 000000000000003
!536870913!: Bob Backline
Comments!8!: Modified last name from Frank Frontline to Bob Backline
@@Modify@@:\[$$ckI2UoIK4gNibZMvL7k7uI/
eDhsoIU5JBTYvh5DMXaQnhPhicyCT/g==$$\]*In this example, Joe User also modified the contents of the Short Description field (field ID 8).
- Send the email reply.
When the incoming mailbox of the Email Engine receives the reply from the user, it makes sure that the original email sent by the administrator exists within the Email Engineand that the sender's email address is contained in the recipient field of the original outgoing email.
The Email Engine then parses the email. If you successfully modified the entry, the Email Engine returns the results to the email client. Otherwise, the Email Enginereturns an error message that indicates any missing parameters or other problems.