Hello
Is there a way to add a key value pair to the header of an outbound email?
Thanks!
Hello
Is there a way to add a key value pair to the header of an outbound email?
Thanks!
Bumping this for the new year! Wrote it in a hurry before heading off on leave, so to add a little more context…
We need to be able to pass emails between applications. As we’re using the built in messaging functionality we’re doing this by forwarding. We’d like to do so without relying on the subject line for matching.
It’d be great if we could chuck a few values into the header to handle this more neatly. We can’t see an obvious way of doing this, hoping that we’ve missed something.
Email Headers are a read only attribute.
You can however use Code Studio to match records, so maybe you could pull something unique from the email record, such as the recipient, and then use code studio to match that property value and relate to a record on the second system.
Another approach might be to bundle the email data into another format and send it to the other system over an API where it would be saved as general record data with any identifiers you might be able to add. Although then it would not be presentable in the message widget all the data would remain in the new record, potentially with attachments as part of the bundle.