Function sendpm
Sends an personal message from the specified person to the specified people ($from defaults to the user)
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Post.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Post.php
array |
$recipients |
An array containing the arrays 'to' and 'bcc', both containing id_member's. |
string |
$subject |
Should have no slashes and no html entities |
string |
$message |
Should have no slashes and no html entities |
boolean |
$store_outbox = false |
Whether to store it in the sender's outbox |
array |
$from = null |
An array with the id, name, and username of the member. |
integer |
$pm_head = 0 |
The ID of the chain being replied to - if any. |
array
|
An array with log entries telling how many recipients were successful and which recipients it failed to send to. |