Send Mail script step and GetAsCSS command
I just upgraded from FMA11 to FMA13. I had a script step that sent an email. In v11 the GetAsCSS command worked to format the text in the message but now in v13 the message just shows the HTML commands.I tried both email client and SMTP server without any change. Did something change in v13?
Message field in Send Mail step:
GetAsCSS (TextStyleAdd ( "––Notification of Radiology Discrepancy––" ; Bold) & ¶ & ¶ & TextStyleAdd ("THIS COMMUNICATION IS CONSIDERED PRIVILEGED UNDER WIS. STAT. 146.38 HEALTH CARE SERVICES REVIEW AS A RECORD OF INVESTIGATION" ; Bold) & ¶ & ¶ & ¶ & "A discrepancy in a radiology reading was documented for " & TextStyleAdd(Info::Patient;Titlecase) & " (MR# " & Info::MR# & ") who you saw on " & Info::Date of service1 & ". " & TextStyleAdd ("This message is for notification purposes only; no action is required on your part." ; Bold) & ¶ & ¶ & ¶ & "An excerpt from the discrepancy report is as follows:" & ¶ & Info::originator comments)
Since Send Mail only sends mail as plain text, I'm surprised that this worked for you in FM 11.