Sweet! That was it. Initally I hadn't listed the other queries because I wanted to get the first one right. I really need to figure out how arrays work. LOL
Here was my final code. The only thing you missed was adding to the recipients unread totals, and I wanted a pmpopup...
PHP Code:
$from_userid=1;
$from_username='fly';
$to_userid=1;
$to_username='fly';
$title = 'This is the subject1';
$message = 'This is the message body1';
$iconid = 0;
$signature=1; // 1 to show sig, 0 to hide it
$disablesmilies=1; // 1 to hide smilies, 0 to show them