4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
7 | This work is published under the GNU AGPLv3 license with some |
8 | permitted exceptions and without any warranty. For full license |
9 | and copyright information, see https://civicrm.org/licensing |
10 +--------------------------------------------------------------------+
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
23 * MailSettings entity.
28 class MailSettings
extends Generic\DAOEntity
{
31 * Check whether the mail store is accessible.
33 * @param bool $checkPermissions
34 * @return \Civi\Api4\Action\MailSettings\TestConnection
36 public static function testConnection($checkPermissions = TRUE) {
37 $action = new \Civi\Api4\Action\MailSettings\
TestConnection(static::class, __FUNCTION__
);
38 return $action->setCheckPermissions($checkPermissions);