Add ability to send message

https://www.pivotaltracker.com/story/show/78628040
Passing an array or object to preg_match() would trigger a warning.