Checkpoint: Corrections apportées :
- Ajout du support SMTP pour l'envoi d'emails (sans dépendre de Resend) - Correction de l'affichage du statut pour montrer "SMTP Direct" au lieu de "Resend" - Ajout d'alertes spécifiques pour la configuration SMTP - Correction de la fonction upsertEmailConfig pour mettre à jour au lieu de créer une nouvelle configuration - Correction du bug d'enregistrement des champs SMTP dans la base de données - Mise à jour forcée du provider à "smtp" dans la base de données
This commit is contained in:
58
.manus/db/db-query-1764345842345.json
Normal file
58
.manus/db/db-query-1764345842345.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"query": "SELECT id, provider, mode, active, smtpHost, smtpPort FROM emailConfig ORDER BY id DESC;",
|
||||
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT id, provider, mode, active, smtpHost, smtpPort FROM emailConfig ORDER BY id DESC;",
|
||||
"rows": [
|
||||
{
|
||||
"id": "90002",
|
||||
"provider": "",
|
||||
"mode": "production",
|
||||
"active": "1",
|
||||
"smtpHost": "smtp.itinova.org",
|
||||
"smtpPort": "587"
|
||||
},
|
||||
{
|
||||
"id": "90001",
|
||||
"provider": "smtp",
|
||||
"mode": "simulation",
|
||||
"active": "0",
|
||||
"smtpHost": "smtp.itinova.org",
|
||||
"smtpPort": "587"
|
||||
},
|
||||
{
|
||||
"id": "60002",
|
||||
"provider": "smtp",
|
||||
"mode": "simulation",
|
||||
"active": "0",
|
||||
"smtpHost": "NULL",
|
||||
"smtpPort": "NULL"
|
||||
},
|
||||
{
|
||||
"id": "60001",
|
||||
"provider": "smtp",
|
||||
"mode": "simulation",
|
||||
"active": "0",
|
||||
"smtpHost": "NULL",
|
||||
"smtpPort": "NULL"
|
||||
},
|
||||
{
|
||||
"id": "30001",
|
||||
"provider": "smtp",
|
||||
"mode": "simulation",
|
||||
"active": "0",
|
||||
"smtpHost": "NULL",
|
||||
"smtpPort": "NULL"
|
||||
},
|
||||
{
|
||||
"id": "1",
|
||||
"provider": "smtp",
|
||||
"mode": "simulation",
|
||||
"active": "0",
|
||||
"smtpHost": "NULL",
|
||||
"smtpPort": "NULL"
|
||||
}
|
||||
],
|
||||
"messages": [],
|
||||
"stdout": "id\tprovider\tmode\tactive\tsmtpHost\tsmtpPort\n90002\t\tproduction\t1\tsmtp.itinova.org\t587\n90001\tsmtp\tsimulation\t0\tsmtp.itinova.org\t587\n60002\tsmtp\tsimulation\t0\tNULL\tNULL\n60001\tsmtp\tsimulation\t0\tNULL\tNULL\n30001\tsmtp\tsimulation\t0\tNULL\tNULL\n1\tsmtp\tsimulation\t0\tNULL\tNULL\n",
|
||||
"stderr": "",
|
||||
"execution_time_ms": 58
|
||||
}
|
||||
Reference in New Issue
Block a user