first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
require_once 'class/mailer.php';
|
||||
|
||||
header('Content-Type: application/json');
|
||||
|
||||
// Test di invio email
|
||||
$to = ['csironi@cesoft.io'];
|
||||
$subject = 'Test Email da YogiBook';
|
||||
$body = '<h1>Test</h1><p>Questo è un test di invio email.</p>';
|
||||
|
||||
$result = sendEmail($to, $subject, $body);
|
||||
|
||||
echo json_encode($result);
|
||||
Reference in New Issue
Block a user