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