messages_new_message() worked, but I was looking for a function to send an email and this worked for the first activity (Doh!) and gave me trouble to troubleshoot. In the end I used the wordpress wp_mail() function – still not sure why the default php function mail() didn’t work.
Thanks for the answer Roger. Definitely helped me shortcut some time.
-Bob
Update – changed function to include this simple activity stream on the page.
Ajax still isn’t recognized.
Awesome! Thanks! You saved me hours of time. I didn’t realized that file exited.