public failure_message_to_sender ( mixed $message, string $type, array $headers, integer $i, resource $connection ) : mixed | ||
$message | mixed | Should override to string in method. Defaults to boolean false. |
$type | string | Type of error message |
$headers | array | The email headers |
$i | integer | The message number from the inbox loop |
$connection | resource | The current IMAP connection. Chances are you probably don't have to do anything with this! |
return | mixed | $message |