Files
api/services/nginx/app/modules/email/config/email_enabled_c.php
T
Jepp9350 61de9cdb45 Add email configuration module and enable invoice PDF retrieval
Introduce an email configuration module to manage SMTP settings, including encryption, host, username, and more. Implement functionality for retrieving invoice PDFs, storing them, and providing secure download links. Added relevant endpoint, routes, and helper methods to support these features.
2025-02-10 18:07:51 +01:00

29 lines
489 B
PHP

<?php
namespace email\config;
use Exception;
use traits\module_config_variable;
class email_enabled_c
{
use module_config_variable;
/**
* @throws Exception
*/
public function __construct()
{
self::setupConfigVariable(
'Email',
'enabled',
'bool',
true,
null,
'Whether the email service is enabled or not',
'1',
false,
'false'
);
}
}