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.
21 lines
346 B
PHP
21 lines
346 B
PHP
<?php
|
|
|
|
namespace classes;
|
|
require_once WD . '/modules/email/email_c.php';
|
|
|
|
use email\email_c;
|
|
use interfaces\email_i;
|
|
|
|
class email implements email_i
|
|
{
|
|
/**
|
|
* Configuration for the email service
|
|
* @var email_c
|
|
*/
|
|
public email_c $config;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->config = new email_c();
|
|
}
|
|
} |