Skip to main content
alphar0001
November 8, 2022
Question

Saving HTML of email generated from send email smart shape in a custom output process variable ?

  • November 8, 2022
  • 1 reply
  • 0 views

Hi All,

         I couldn't see generated emails in our DEV environment as this is blocked by our admin. Surprisingly , I can test emails only in Preprod environment.  Is there anyway by which I can check the generated HTML like saving it  into to a process variable in custom output like the screenshot below.  FYI , I am using html templates in the email.

Any help or comments will be highly appreciated

Thanks in Advance,

MikeMiracle

 

1 reply

mikes0011
Brainy
November 8, 2022

The way I've seen this approached is to use a very simple HTML template (like one with one or only a few replacement fields), and generate the HTML for each individual email procedurally in different expression rules.  The strength you get from doing it that way is you can merely press "test" in the expression rule and generate an approximation of your resulting email html code, that you can pick over with a fine-toothed comb and/or even open in a browser (assuming you save it in a .html file locally).

The Expression Guru