-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
CustomEmail
Description
Handles the form allowing you to email a user from their profile.
Syntax
void CustomEmail ()
Notes
- Requires a user ID or message ID sent via $_REQUEST
- $_REQUEST['msg'] is set if you're sending an email to a specific poster
- Actually sends the email if $_POST['send'] and $_POST['email_body'] are set
- Uses the custom_email subtemplate of the SendTopic template
Context ($context) Variables Name Description $context['recipient'] An array of info about the recipient. Contains id, name, email, email_link and link $context['show_email_address'] One of the results from showEmailAddress indicating whether the current user can see this person's email address (and why) Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.119 seconds with 13 queries.
- Forum Search