fix: distinguish email service errors and validate send receipts
This commit is contained in:
@@ -1461,6 +1461,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (url.pathname === '/api/notify/email/config') {
|
||||
// 'from' gizli bilgi değil; hangi adresin kullanıldığını görünür kılar
|
||||
return json(res, 200, {
|
||||
success: true,
|
||||
configured: emailConfigured(),
|
||||
from: emailFrom(),
|
||||
envAyarli: Boolean((process.env.EMAIL_FROM || '').trim()),
|
||||
|
||||
Reference in New Issue
Block a user