Page 1 of 1

Mail send with OAuth 2.0 - Fixed HTML with variables

Posted: Thu Dec 18, 2025 11:25 am
by schmitzdp
Hello,

I need to migrate my default email sending application to ‘Mail send with OAuth 2.0’.

I was sending a fixed HTML file that contained variables.

For example:

Code: Select all

[Metadata.Text:Dataset="Payload",Model="JSON",Path="/Number"] 
These are no longer interpreted by ‘Mail send with OAuth 2.0’.

However, the variable [Job.NameProper] is interpreted correctly.

Is there anything in the syntax that needs to be changed?

Thanks

Re: Mail send with OAuth 2.0 - Fixed HTML with variables

Posted: Thu Dec 18, 2025 12:52 pm
by freddyp
Private data is also interpreted correctly. It is therefore advised to define all the variables you need as private data keys (you can do that on the folder preceding the Mail send) and use the private data keys in the HTML template.

Re: Mail send with OAuth 2.0 - Fixed HTML with variables

Posted: Fri Dec 19, 2025 9:41 am
by schmitzdp
Thanks for your advice.
I've changed my flow as you suggested.