Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:3400_how_to:0700_emails:0970_process_emails [2022/08/25 00:14] – ↷ Links adapted because of a move operation administrator | docs:3400_how_to:0700_emails:0970_process_emails [2025/06/11 08:34] (current) – ↷ Links adapted because of a move operation aware_support3 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== How to process e-mail based on its contents ====== | ====== How to process e-mail based on its contents ====== | ||
| - | In order to process the received e-mails you need to define business rules attached to the event of receiving an e-mail notification – see the “[[docs: | + | In order to process the received e-mails you need to define business rules attached to the event of receiving an e-mail notification – see the “[[docs: |
| - | <code aim>IF IncomingEmail.Subject = ' | + | <code aim>IF IncomingEmail.Subject = ' |
| - | If e-mails contain complex information that you want to analyse then this information may be encoded into the body of the message in a special format (you have to mandate that the senders of such e-mails encode the bodies of their e-mails in this format). The format is described in the '' | + | If e-mails contain complex information that you want to analyse then this information may be encoded into the body of the message in a special format (you have to mandate that the senders of such e-mails encode the bodies of their e-mails in this format). The format is described in the '' |
| - | <code aim># | + | <code aim># |
| Then the following rule: | Then the following rule: | ||
| - | <code aim>SET Account FROM IncomingEmail.Message</ | + | <code aim>SET Account FROM IncomingEmail.Message </ |
| - | will set the Name, State and Balance attributes of the Account objects to the values provided in the body of the e-mail (‘John Smith’, ‘NEW’ and 100.0). You can define other rules that will check these values and perform the appropriate actions if required. | + | will set the Name, State and Balance attributes of the Account objects to the values provided in the body of the e-mail ('John Smith', 'NEW' |