Submits the contact form.
string $name: The name of the sender.
string $mail: The e-mail address of the sender.
string $subject: The subject of the message.
string $id: The category ID of the message.
string $message: The message body.
function submitContact($name, $mail, $subject, $id, $message) {
$edit = array();
$edit['name'] = $name;
$edit['mail'] = $mail;
$edit['subject'] = $subject;
$edit['category'] = $id;
$edit['message'] = $message;
$this
->drupalPost('contact', $edit, t('Send message'));
}