From 1b211c3148dfb38fa54d0a8584f6da137eb813d6 Mon Sep 17 00:00:00 2001 From: koziavin Date: Sun, 22 Jun 2025 09:25:44 +0400 Subject: [PATCH] fix --- .env | 2 ++ .env.example | 2 ++ components/EmailForm.vue | 23 ++++++--------- nuxt.config.ts | 25 ++++++----------- package.json | 2 +- server/api/send-order.post.ts | 53 +++++++++++++++++++++++++++++++++++ 6 files changed, 74 insertions(+), 33 deletions(-) create mode 100644 server/api/send-order.post.ts diff --git a/.env b/.env index 71e3f0c..e9a79eb 100644 --- a/.env +++ b/.env @@ -14,3 +14,5 @@ APP_URL= SMTP_USER=levishub@yandex.com SMTP_PASS=avhpihoudpyvibtx DEFAULT_TO_EMAIL=miduway@yandex.ru +SMTP_HOST=smtp.yandex.ru +SMTP_PORT=465 \ No newline at end of file diff --git a/.env.example b/.env.example index d9b57ee..d4d053a 100644 --- a/.env.example +++ b/.env.example @@ -16,3 +16,5 @@ APP_URL= SMTP_USER=levishub@yandex.ru SMTP_PASS=avhpihoudpyvibtx DEFAULT_TO_EMAIL=miduway@yandex.ru +SMTP_HOST=smtp.yandex.ru +SMTP_PORT=465 \ No newline at end of file diff --git a/components/EmailForm.vue b/components/EmailForm.vue index 502d732..5da05fe 100644 --- a/components/EmailForm.vue +++ b/components/EmailForm.vue @@ -30,8 +30,6 @@