Skip to content
Last updated

WHMCS\Module\Contracts\SenderModuleInterface

Interface

Methods

settings

public function settings()

An array of configuration options for the Mail Provider

Returns array

getName

public function getName()

A string containing the Name of the Mail Provider

Returns string

getDisplayName

public function getDisplayName()

A string containing the Display Name for the Mail Provider

Returns string

testConnection

public function testConnection(array $params)

Test the provided configuration

Parameters

TypeNameDescription
array$params

send

public function send(array $params, Message $message)

Send the message

Parameters

TypeNameDescription
array$params
Message$message