Checkpoint: Correction du bug d'envoi d'emails : les emails sont maintenant envoyés uniquement via SMTP en mode production, sans notification simulée supplémentaire. Ajout de logs détaillés pour faciliter le diagnostic des problèmes d'envoi.
This commit is contained in:
52
.manus/db/db-query-1764539143833.json
Normal file
52
.manus/db/db-query-1764539143833.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"query": "SHOW TABLES",
|
||||
"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 SHOW TABLES",
|
||||
"rows": [
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "__drizzle_migrations"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "alertes"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "apprenants"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "datesFormation"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "emailConfig"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "emailTemplates"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "formateurs"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "formations"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "inscriptions"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "passwordResetTokens"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "rappels"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "rappelsEnvoyes"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "sequences"
|
||||
},
|
||||
{
|
||||
"Tables_in_7PAT67UmWoxv8vwp8Bbcv6": "users"
|
||||
}
|
||||
],
|
||||
"messages": [],
|
||||
"stdout": "Tables_in_7PAT67UmWoxv8vwp8Bbcv6\n__drizzle_migrations\nalertes\napprenants\ndatesFormation\nemailConfig\nemailTemplates\nformateurs\nformations\ninscriptions\npasswordResetTokens\nrappels\nrappelsEnvoyes\nsequences\nusers\n",
|
||||
"stderr": "",
|
||||
"execution_time_ms": 48
|
||||
}
|
||||
27
.manus/db/db-query-1764539149748.json
Normal file
27
.manus/db/db-query-1764539149748.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"query": "SELECT * FROM emailConfig LIMIT 1",
|
||||
"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 * FROM emailConfig LIMIT 1",
|
||||
"rows": [
|
||||
{
|
||||
"id": "1",
|
||||
"provider": "smtp",
|
||||
"apiKey": "re_86E4CTUv_JLJQQQh81PvbaX6dMrshNjHt",
|
||||
"fromEmail": "o.pareige@itinova.org",
|
||||
"fromName": "Formation Manager Itinova",
|
||||
"mode": "simulation",
|
||||
"domainVerified": "0",
|
||||
"active": "0",
|
||||
"createdAt": "2025-11-18 07:16:34",
|
||||
"updatedAt": "2025-11-28 16:01:33",
|
||||
"smtpHost": "NULL",
|
||||
"smtpPort": "NULL",
|
||||
"smtpSecure": "tls",
|
||||
"smtpUser": "NULL",
|
||||
"smtpPassword": "NULL"
|
||||
}
|
||||
],
|
||||
"messages": [],
|
||||
"stdout": "id\tprovider\tapiKey\tfromEmail\tfromName\tmode\tdomainVerified\tactive\tcreatedAt\tupdatedAt\tsmtpHost\tsmtpPort\tsmtpSecure\tsmtpUser\tsmtpPassword\n1\tsmtp\tre_86E4CTUv_JLJQQQh81PvbaX6dMrshNjHt\to.pareige@itinova.org\tFormation Manager Itinova\tsimulation\t0\t0\t2025-11-18 07:16:34\t2025-11-28 16:01:33\tNULL\tNULL\ttls\tNULL\tNULL\n",
|
||||
"stderr": "",
|
||||
"execution_time_ms": 52
|
||||
}
|
||||
18
.manus/db/db-query-1764539156465.json
Normal file
18
.manus/db/db-query-1764539156465.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"query": "SELECT id, provider, fromEmail, fromName, mode, active FROM emailConfig WHERE active = 1",
|
||||
"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, fromEmail, fromName, mode, active FROM emailConfig WHERE active = 1",
|
||||
"rows": [
|
||||
{
|
||||
"id": "90002",
|
||||
"provider": "smtp",
|
||||
"fromEmail": "o.pareige@itinova.org",
|
||||
"fromName": "Formation Manager Itinova",
|
||||
"mode": "production",
|
||||
"active": "1"
|
||||
}
|
||||
],
|
||||
"messages": [],
|
||||
"stdout": "id\tprovider\tfromEmail\tfromName\tmode\tactive\n90002\tsmtp\to.pareige@itinova.org\tFormation Manager Itinova\tproduction\t1\n",
|
||||
"stderr": "",
|
||||
"execution_time_ms": 60
|
||||
}
|
||||
8
.manus/db/db-query-error-1764539107924.json
Normal file
8
.manus/db/db-query-error-1764539107924.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"query": "SELECT * FROM email_config WHERE active = 1 LIMIT 1",
|
||||
"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 * FROM email_config WHERE active = 1 LIMIT 1",
|
||||
"returncode": 1,
|
||||
"logs": [
|
||||
"ERROR 1146 (42S02) at line 1: Table '7pat67umwoxv8vwp8bbcv6.email_config' doesn't exist"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user