Questions regarding emails headers vs envelope headers on pega
Hi, Background info: In the current sprint, there is a story I'm working on, it is about sending an email, but the envelope sender header must contain a different sender than the one present in the UI mail header. This is because we want to have the email header part with the client info but we want to send the envelope containing the email to a automated server for auditing purposes not to the client. As of now I'm not clear on how pega handles mail headers vs mail envelopes from the pega technical perspective therefore I'm asking these questions: How does pega differentiate between the headers in an email and the envelope? please provide an answer that includes technical code if it exists Is it possible to update the envelope to a different email than the one written on the headers of the mail? please provide an answer that includes technical code if it exists Attaching a picture for reference on an envelope and email header difference.