# boolean_smtp_notification_sslverify

> Filters whether outbound notification requests verify the remote SSL certificate.

Filter · Tier B · Since 1.0.0



## Signature

```php
add_filter( 'boolean_smtp_notification_sslverify', $callback, 10, 1 );
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$sslverify` | `bool` | Whether to verify the remote SSL certificate; true by default. |

**Returns** `bool` — Whether to verify the TLS certificate.

## Fires in

- [app/Services/Notification/Support/RemoteNotificationClient.php:59](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Services/Notification/Support/RemoteNotificationClient.php#L59) — `BooleanSmtp\Services\Notification\Support\RemoteNotificationClient::postJson()`
- [app/Services/Notification/Support/RemoteNotificationClient.php:165](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Services/Notification/Support/RemoteNotificationClient.php#L165) — `BooleanSmtp\Services\Notification\Support\RemoteNotificationClient::postTelegramApi()`
- [app/Services/Notification/Support/RemoteNotificationClient.php:224](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Services/Notification/Support/RemoteNotificationClient.php#L224) — `BooleanSmtp\Services\Notification\Support\RemoteNotificationClient::getTelegramApi()`

## Example

```php
add_filter( 'boolean_smtp_notification_sslverify', function ( bool $sslverify ) {
    return $sslverify;
}, 10, 1 );
```
