I'd start by removing a bunch of stuff, and just getting a simple message working. Then add the device, sound, attachments, html message etc.
It could be as escaping issue on the html in the message, or the paths for the sound/attachment. I've only every done it in linux.
Take it right...