Add email attachment to message body?

alerting

(Dennis) #1

Hi,

Does anyone know if it's possible to add the message attachment to the "body" instead? And if it is, can you also pull out the fields you want like using grep on the content to remove all the stuff you don't need.

As these emails will end up with a support team so it would be really handy if the information was available at a glance instead of opening an attachment.

my email action:

"actions" : {
  "send_email" : {
    "email" : {
      "to" : "me@me.com ",
      "subject" : "Event Warning from Watcher",
      "body" : "Event Warning : Please see attached",
      "attach_data" : true
    }
  }
 }

Thanks for your help.

Regards

Dennis


(system) #2