Class: sendMessage

sendMessage

new sendMessage()

Sends the private message to the database using user email as the key (to populate appropriate user entry in the database). Note: period is replaced with a comma in the user email (see escapeEmailAddress in registerLoginLogout.js)
Source: