In my application, I wish to implement user email back and forth exchange, keeping users' email addresses private from each other.
AwareIM doc points to being able to use the SET action in incomming emails. I think that might allow me to accomplish this. I know how to process incoming emails and create records in BOs, from them.
In the User Guide: "The SET action of the Aware IM Rule Language can be useful for analyzing the received e-mail provided that the body of the e-mail is in a format required by the SET action"
To accomplish this, I am thinking that can be done with the following:
Place a string (invisible if it can be done can), in the subject or body of an email sent from the application (from user Joe) to a customer named Ed: I know how to do this part, but not invisible:
In the Subject:
Plumbing quote [EmailFromLoginName#joeplumber123#EmailToLoginName#EdCustomer456]
OR
In the Body:
Hi Ed,
I would love to get you the plumbing quote you have requested......
...………
at the end of the body if not possible to be invisible.....
DO NOT remove this line below when you reply to the email
[EmailFromLoginName#joeplumber123#EmailToLoginName#EdCustomer456]
When I receive the email, I wish to "search and pluck out" the above string (the part encoded with the # symbols), either from the subject or body, create a record in a BO (call that UserMessages), and then use that BO record to send out another email. I know how to receive incoming emails, and I know how to create a record in the BO from them using the subject, body, etc. So I think I just need to know the "search and pluck and SET" piece. I am thinking that I can use the SET piece to create the record for me, which I can then pass as an input to a process which will then create a reply to Joe from Ed.
Dave