Yea I was wondering if I can maybe format in a  bit of a nicer way to where it'd be readable kind of like this:

set tEmail = ##class(%Net.MailMessage).%New()

set tEmail.IsHTML=1

set html = &html<

<html>

<body>

<b>Hello, World!</b>

</body>

</html>

>

set tSC = tEmail.TextData.Write(html)

set tSC=..Adapater.SendMail(tEmail)

I know you can't assign embedded HTML to a variable, but I didn't know if there was a different way of doing it.

I think I did find a work around however by using SendGrid and just doing a JSON post to SendGrid that will send my email through the use of a template, but I guess it is just moreso for curiosity sakes now.