Hello Geoff,
I'm interested in getting the contents of the visitor message in the email. Are you saying this is what you were able to accomplish?
You're replacing
Code:
vbmail($userinfo['email'], 'You have a New Profile Message', $VMEN_message, false, $vbulletin->options['VMEN_reply'], '');
With
Code:
mail($userinfo['email'], 'You Have a New Profile Message', $VMEN_message, 'From: '.$vbulletin->options['VMEN_reply'].PHP_EOL.'Content-type: text/html');
To get that effect?