View Full Version : Send PM's Programatically??
liamwli
09-27-2012, 04:50 PM
How, in vBulletin 4, would one send a PM programatically?
If you look at file private.php, starting around line 1166:
if ($_POST['do'] == 'insertpm')
{
that's the code that sends a pm. Basically it creates a pm data manager and sets the fields, then calls "save". You could also find a mod that sends a pm and look at how that works.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.