From 9dd445c746427d588b4f5b2c422fa1b8de475967 Mon Sep 17 00:00:00 2001 From: begoingto Date: Mon, 28 Apr 2025 01:11:03 +0700 Subject: [PATCH] fix: Update mail configuration to use Ethereal SMTP settings for testing --- .env.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 4cf8232..dff0dd4 100644 --- a/.env.example +++ b/.env.example @@ -29,11 +29,11 @@ FILE_CENTER_URL=http://localhost:8081/logo-qrcode.png # File size MAX_FILE_SIZE=1024KB MAX_FILE_REQUEST_SIZE=1024KB -# Mail Configuration +# Mail Configuration For testing, you can use https://ethereal.email/create MAIL_USERNAME=0b3dfc72b8c631 MAIL_PASSWORD=cf076d799183c4 -MAIL_HOST=sandbox.smtp.mailtrap.io -MAIL_PORT=2525 +MAIL_HOST=smtp.ethereal.email +MAIL_PORT=587 MAIL_STARTTLS_AUTH=true MAIL_STARTTLS_ENABLE=true MAIL_STARTTLS_REQUIRED=true