Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
<?php
namespace FluentMail\App\Services\Mailer\Providers\Simulator;
use FluentMail\App\Models\Logger;
use FluentMail\App\Services\Mailer\BaseHandler;
class Handler extends BaseHandler
{
public function send()
{
if($this->shouldBeLogged(true)) {
$atts = $this->setAttributes();
$customHeaders = $atts['custom_headers'];
$headers = $atts['headers'];
foreach ($customHeaders as $customHeader) {
$headers[$customHeader['key']] = $customHeader['value'];
}
$headers = $this->phpMailer->getCustomHeaders();
$headers['content-type'] = $this->phpMailer->ContentType;
$logData = [
'to' => maybe_serialize($this->setRecipientsArray($this->phpMailer->getToAddresses())),
'from' => maybe_serialize($this->phpMailer->From),
'subject' => $this->phpMailer->Subject,
'body' => $this->phpMailer->Body,
'attachments' => maybe_serialize($this->phpMailer->getAttachments()),
'status' => 'sent',
'response' => maybe_serialize(['status' => __('Email sending was simulated, No Email was sent originally', 'fluent-smtp')]),
'headers' => maybe_serialize($headers),
'extra' => maybe_serialize(['provider' => 'Simulator'])
];
(new Logger)->add($logData);
}
return true;
}
protected function postSend()
{
$returnResponse = [
'response' => 'OK'
];
$this->response = $returnResponse;
return $this->handleResponse($this->response);
}
public function setSettings($settings)
{
$this->settings = $settings;
return $this;
}
}