-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
messagePostError
Description
Loads up information regarding any post errors for the template
Syntax
void messagePostError (array $error_types, array $to, array $bcc)
Parameter $error_types
Expected type: Array
Description: An array of one or more strings indicating what error(s) occurred: session_timeout (session timed out), no_message (message was empty), no_subject (subject was empty), long_message (message too long), no_to ("to" and "bcc" fields left blank)
Parameter $to
Expected type: Array
Description: An array of the recipients in the "to" field
Parameter $bcc
Expected type: Array
Description: An array of the recipients in the "bcc" field
Notes
- Loads all the appropriate error messages into $context['post_errors']['messages']
- Existing information is also loaded into $context variables so you don't lose anything
- Loads the 'send' sub-template
- Doesn't return anything
- Returned by MessagePost2 if there are any errors
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.042 seconds with 13 queries.
- Forum Search