0

I am sending MarkLogic emails for monitoring details of a running host using xdmp:email through a scheduled job, I wanted to set the importance of the email based upon the status of the host from where the job is getting executed.

Please suggest how to go about it?

I want to set the importance as red if the system resources go below a particular benchmark.

Dave Cassel
  • 8,352
  • 20
  • 38
Amit Gope
  • 120
  • 1
  • 10

1 Answers1

1

I'm not sure you can at all. The xdmp:email function relies on IETF standard for coding email messages as XML, see:

Neither speaks of a priority or importance flag or header, but I may have overlooked it..

HTH!

Community
  • 1
  • 1
grtjn
  • 20,254
  • 1
  • 24
  • 35