improved sendmsg()

Now handles being given a list of strings