Function EmailIntegration->handle_missing_member
Definitions
sources/mail_integration.php
- Handle a case where we could not bind to a member.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$from_email | No | No | required parameter | N/A | N/A | From e-mail | |
$email_bounce_to | No | No | required parameter | N/A | N/A | E-mail address of sender (usually the same as $email, but not if it was a forwarded e-mail) | |
$mail_nonmatch_policy | string | No | No | required parameter | post_as_guest create_account block | N/A | Non-match policy |
$subject | string | No | No | required parameter | N/A | N/A | Subject line |
$_body_text | ?string | No | No | required parameter | N/A | N/A | E-mail body in text format (null: not present) |
$_body_html | ?string | No | No | required parameter | N/A | N/A | E-mail body in HTML format (null: not present) |
Returns
- The member ID (null: none)
- Type: ?MEMBER
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Handle a case where we could not bind to a member.
*
* @param EMAIL $from_email From e-mail
* @param EMAIL $email_bounce_to E-mail address of sender (usually the same as $email, but not if it was a forwarded e-mail)
* @param string $mail_nonmatch_policy Non-match policy
* @set post_as_guest create_account block
* @param string $subject Subject line
* @param ?string $_body_text E-mail body in text format (null: not present)
* @param ?string $_body_html E-mail body in HTML format (null: not present)
* @return ?MEMBER The member ID (null: none)
*/
protected function handle_missing_member(string $from_email, string $email_bounce_to, string $mail_nonmatch_policy, string $subject, ?string $_body_text, ?string $_body_html) : ?int
* Handle a case where we could not bind to a member.
*
* @param EMAIL $from_email From e-mail
* @param EMAIL $email_bounce_to E-mail address of sender (usually the same as $email, but not if it was a forwarded e-mail)
* @param string $mail_nonmatch_policy Non-match policy
* @set post_as_guest create_account block
* @param string $subject Subject line
* @param ?string $_body_text E-mail body in text format (null: not present)
* @param ?string $_body_html E-mail body in HTML format (null: not present)
* @return ?MEMBER The member ID (null: none)
*/
protected function handle_missing_member(string $from_email, string $email_bounce_to, string $mail_nonmatch_policy, string $subject, ?string $_body_text, ?string $_body_html) : ?int