# WHMCS\Module\Contracts\SenderModuleInterface

`Interface`

## Methods

### settings

```php
public function settings()
```

An array of configuration options for the Mail Provider

**Returns** `array`

### getName

```php
public function getName()
```

A string containing the Name of the Mail Provider

**Returns** `string`

### getDisplayName

```php
public function getDisplayName()
```

A string containing the Display Name for the Mail Provider

**Returns** `string`

### testConnection

```php
public function testConnection(array $params)
```

Test the provided configuration

**Parameters**

| Type | Name | Description |
|  --- | --- | --- |
| `array` | `$params` |  |


### send

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

Send the message

**Parameters**

| Type | Name | Description |
|  --- | --- | --- |
| `array` | `$params` |  |
| `Message` | `$message` |  |