updated docs
This commit is contained in:
+2
-2
@@ -31,7 +31,7 @@ Zwykle w Server Action wywoływanej przez formularz. HTML obu maili składasz
|
||||
na froncie (Twój wygląd):
|
||||
|
||||
```ts
|
||||
import { submitForm } from 'ipal-kit/server'
|
||||
import { submitForm } from '@intecion/ipal-kit/server'
|
||||
|
||||
const result = await submitForm({
|
||||
payload,
|
||||
@@ -86,7 +86,7 @@ wiadomości skonfigurowane przez edytora (Forms → formularz → Emails), przez
|
||||
`payload.sendEmail`. Żeby wyszły, config musi mieć adapter:
|
||||
|
||||
```ts
|
||||
email: panelSmtpAdapter(), // z 'ipal-kit'
|
||||
email: panelSmtpAdapter(), // z '@intecion/ipal-kit'
|
||||
```
|
||||
|
||||
Wtedy idą przez SMTP z Site Integrations. Edytor ustawia odbiorców, temat i
|
||||
|
||||
Reference in New Issue
Block a user