Bitrix API

AllowedSender

Table of Contents

Methods

getList()  : array<string|int, mixed>
Get list of allowed senders
isAllowed()  : bool
Is $email an allowed sender or not

Methods

getList()

Get list of allowed senders

public static getList([int|null $forUserId = null ]) : array<string|int, mixed>
Parameters
$forUserId : int|null = null

For whom.

Return values
array<string|int, mixed>

isAllowed()

Is $email an allowed sender or not

public static isAllowed(string $email[, int|null $userId = null ]) : bool
Parameters
$email : string

Sender email.

$userId : int|null = null

For whom.

Return values
bool

        
On this page

Search results