Tidied up to conform to PSR coding standards/style
Allow the recipient to be specified during the send() call