NLog ターゲットがあります。
<target name="AspNetAsyncWrapperForMail" xsi:type="ASPNetBufferingWrapper">
<target name="mail" xsi:type="Mail"
subject="Error: ${callsite:includeSourcePath=False}"
smtpServer="MySMTP"
from="me@test.com"
to="me@test.com"
smtpAuthentication="None"
body="${date}${file-contents:${basedir}/error.html}"
html="true"/>
</target>
Error.html は次のようになります。
<div>
<b>Message</b>=${message}
</div>
${message} パラメータが NLog ルールでレンダリングされるように、NLog に error.html の内容を解析させるにはどうすればよいですか?