Folks, I'm really sorry. It turns out I'm just an idiot. I hadn't put anything in the :addresses field. As soon as I put the recipient's email address in there it all started working. Something like this:
:addresses ["2ndaddr...@optusnet.com.au"] I hadn't realised you had to do that and I'd seen examples which didn't use it, but I guess I should have tried it before wasting everyone's time. Sorry again. Hopefully this will help someone in the future with a similar issue. Regards, Phill