Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

pm_move_message

Usage: bool pm_move_message (int messageid, string targetfolderid)
Purpose: Moves a PM message to a folder.
Availability: IPB SDK 0.5

Moves message messageid to the folder with the folder ID targetfolderid. Returns TRUE on success.

If the user is not logged in, the target folder doesn't exist, or the message couldn't be moved FALSE will be returned. If false is returned, a error message can be retrieved using sdk_error

// Moves Message 230 to Inbox
$SDK->pm_move_message ("230", "in");


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net