I have a variable of type string called “self.custom.var” that I want to put into an HTML email.
body = "<HTML><BODY><H2>Your variable is + self.custom.var</H2>"
I have also tried
body = "<HTML><BODY>
<p>Your variable is: <br>
<br><br><h1> {help_me} </H1><br>
<p>"
body.format(help_me = self.custom.var)
I can’t seem to figure this out. Any hints?
Thank you,