send email

This commit is contained in:
amazuecos
2025-03-24 22:45:02 +01:00
parent c0d54e28b7
commit 74867ca1ac
7 changed files with 152 additions and 25 deletions

View File

@ -28,7 +28,7 @@ class Email extends BaseConfig
/**
* SMTP Server Hostname
*/
public string $SMTPHost = 'smtp.ionos.es';
public string $SMTPHost = 'localhost';
/**
* SMTP Username
@ -38,7 +38,7 @@ class Email extends BaseConfig
/**
* SMTP Password
*/
public string $SMTPPass = 'H%5&qDkDkWnfLTGN';
public string $SMTPPass = '';
/**
* SMTP Port

View File

@ -10,6 +10,7 @@ use App\Services\PapelImpresionService;
use CodeIgniter\Config\BaseService;
use App\Services\ProductionService;
use App\Services\TarifaMaquinaService;
use CodeIgniter\Email\Email;
/**
* Services Configuration file.
@ -36,6 +37,7 @@ class Services extends BaseService
* return new \CodeIgniter\Example();
* }
*/
public static function production(){
return new ProductionService();
}