1. Is there a way to "read" the output message from within a bmx app?
Yeah, you need to read the web page and find the message on it. Check out BRL.HTTPStream module.
2. Can one output the message to a html template (so I can show it in the layout of my website)?
That's what PHP is for: just include the code into your template at the location you want it.