Mail relay: HTTP tests on a running Payload, account mail marked by recipient, panel wording, doctor rules tested

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 20:40:17 +01:00
co-authored by Claude Fable 5.2
parent ea9703f8e3
commit 533f571d4d
12 changed files with 532 additions and 111 deletions
+62 -62
View File
@@ -12,37 +12,37 @@ export const integrationsTexts = defineTexts({
// Intecion mail service: the state block on the e-mail tab (MailRelayStatus) and its routes
mailRelayCheck: 'Check now',
mailRelayConnect: 'Connect again',
mailRelayConnected: 'The site is connected to the Intecion mail service.',
mailRelayConnectFailed: 'The site could not be connected: {{reason}}',
mailRelayConnected: 'The site is connected to the built-in mail service.',
mailRelayConnectFailed: 'The site could not be connected. {{reason}}',
mailRelayDisconnect: 'Disconnect',
mailRelayDisconnectConfirm: 'Disconnect this site from the Intecion mail service? E-mails will not be sent until you connect again or fill in an SMTP server.',
mailRelayDisconnected: 'The site is disconnected from the Intecion mail service.',
mailRelayDisconnectConfirm: 'Disconnect the site from the built-in mail service? E-mails will not be sent until you connect again or fill in an SMTP server.',
mailRelayDisconnected: 'The site is disconnected from the built-in mail service.',
mailRelayForbidden: 'Only an administrator can do this.',
mailRelayHeading: 'How e-mails are sent',
mailRelayLoadFailed: 'The state could not be read. Try again.',
mailRelayLoggedOut: 'Your session has ended. Log in again.',
mailRelayNameReplaced: 'The mail service did not accept the sender name "{{asked}}", so e-mails leave as "{{used}}". Choose another name below.',
mailRelayNameReplaced: 'The sender name "{{asked}}" was not accepted, so e-mails leave as "{{used}}". Choose another name below.',
mailRelayNoReplyAddress: 'No reply address is set. Fill in "Sender address" below, or replies to these e-mails will be lost.',
mailRelayOff: 'The Intecion mail service is switched off for this project.',
mailRelayOff: 'The built-in mail service is switched off for this site.',
mailRelayQuota: 'Left this hour: {{hour}}. Left today: {{day}}.',
mailRelayRefusedCallback: 'The mail service could not confirm this site at {{url}} ({{reason}}). The site must answer there from the internet, without a redirect. If the site serves its API at another address, ask Intecion to set this site\'s confirm address.',
mailRelayRefusedClosed: 'The mail service does not take new sites at the moment. Contact Intecion.',
mailRelayRefusedHost: 'This site has no public address the mail service could call back ({{host}}). It works once the site runs on its domain.',
mailRelayRefusedNoHost: 'The site does not know its own address. An administrator must set serverURL in the Payload config.',
mailRelayRefusedCallback: 'The mail service could not reach this site at {{url}}. Reason: {{reason}}. Ask your administrator.',
mailRelayRefusedClosed: 'The mail service does not take new sites at the moment. Ask your administrator.',
mailRelayRefusedHost: 'This site has no public address yet ({{host}}). The mail service works once the site runs on its domain.',
mailRelayRefusedNoHost: 'The site does not know its own address. Ask your administrator.',
mailRelayRefusedOther: 'The mail service answered: {{message}}',
mailRelayRepliesTo: 'Replies go to {{address}}.',
mailRelayStateActive: 'Connected to the Intecion mail service.',
mailRelayStateActive: 'Connected to the built-in mail service.',
mailRelayStateDisconnected: 'Disconnected. E-mails are not sent until you connect again or fill in an SMTP server.',
mailRelayStateNotConnected: 'Not connected yet. The site connects by itself when it sends its first e-mail.',
mailRelayStatePending: 'Waiting for approval by Intecion. E-mails are not sent yet.',
mailRelayStateSuspended: 'Intecion has stopped e-mail sending for this site. Contact Intecion.',
mailRelayToken: 'Token issued by Intecion',
mailRelayTokenHint: 'Only for a site the mail service cannot call back. The token is stored and never shown again.',
mailRelayTokenInvalid: 'This is not a token of the mail service.',
mailRelayTokenSave: 'Save the token',
mailRelayTransportGraph: 'E-mails go through Microsoft Graph. This method is deprecated and will be removed in version 2.0.',
mailRelayStatePending: 'The site is waiting for approval, so e-mails are not sent yet. Ask your administrator.',
mailRelayStateSuspended: 'E-mail sending was stopped for this site. Ask your administrator.',
mailRelayToken: 'Enter an access key',
mailRelayTokenHint: 'Only when your administrator gave you a key for this site. It is stored and never shown again.',
mailRelayTokenInvalid: 'This is not an access key of the mail service.',
mailRelayTokenSave: 'Save the key',
mailRelayTransportGraph: 'E-mails go through Microsoft Graph. This method will be removed in version 2.0.',
mailRelayTransportNone: 'No sending method is set up. E-mails are not sent.',
mailRelayTransportRelay: 'E-mails go through the Intecion mail service, from {{address}}.',
mailRelayTransportRelay: 'E-mails go through the built-in mail service, from {{address}}.',
mailRelayTransportSmtp: 'E-mails go through your SMTP server.',
mailRelayWorking: 'Working…',
@@ -74,17 +74,17 @@ export const integrationsTexts = defineTexts({
'Microsoft Graph cannot send files of 3 MB and more here, so larger form files are limited or go over SMTP. Ask your administrator.',
statusEmailGraphUnavailable:
'Microsoft Graph is selected but not set up on the server, so e-mails go over SMTP. Ask your administrator.',
statusEmailRelayAttachmentRefused: 'The Intecion mail service does not carry this type of file. The e-mail was not sent.',
statusEmailRelayDisconnected: 'The site is disconnected from the Intecion mail service, so e-mails are not sent. Connect again, or fill in an SMTP server.',
statusEmailRelayError: 'The Intecion mail service refused the e-mail. Tell your administrator.',
statusEmailRelayNotConfirmed: 'The Intecion mail service did not confirm the last e-mail. It may have been sent.',
statusEmailRelayPending: 'The site is waiting for approval by Intecion. E-mails are not sent yet.',
statusEmailRelayQuota: 'The site reached a sending limit of the Intecion mail service. The e-mail was not sent.',
statusEmailRelayRecipientSuppressed: 'The mail service refuses one of the recipients, because earlier e-mails to that address came back. Nothing was sent. Contact Intecion.',
statusEmailRelayRefused: 'The Intecion mail service did not connect this site. See the state above, or fill in an SMTP server.',
statusEmailRelaySuspended: 'Intecion has stopped e-mail sending for this site. Contact Intecion.',
statusEmailRelayTooLarge: 'The e-mail or its files are larger than the Intecion mail service carries. The e-mail was not sent.',
statusEmailRelayUnreachable: 'The Intecion mail service could not be reached or failed. The e-mail was probably not sent.',
statusEmailRelayAttachmentRefused: 'The built-in mail service does not carry this type of file. The e-mail was not sent.',
statusEmailRelayDisconnected: 'The site is disconnected from the built-in mail service, so e-mails are not sent. Connect again, or fill in an SMTP server.',
statusEmailRelayError: 'The built-in mail service refused the e-mail. Tell your administrator.',
statusEmailRelayNotConfirmed: 'The built-in mail service did not confirm the last e-mail. It may have been sent.',
statusEmailRelayPending: 'The site is waiting for approval, so e-mails are not sent yet. Ask your administrator.',
statusEmailRelayQuota: 'The site reached a sending limit of the built-in mail service. The e-mail was not sent.',
statusEmailRelayRecipientSuppressed: 'The mail service refuses one of the recipients, because earlier e-mails to that address came back. Nothing was sent.',
statusEmailRelayRefused: 'The built-in mail service did not connect this site. See the state above, or fill in an SMTP server.',
statusEmailRelaySuspended: 'E-mail sending was stopped for this site. Ask your administrator.',
statusEmailRelayTooLarge: 'The e-mail or its files are larger than the built-in mail service carries. The e-mail was not sent.',
statusEmailRelayUnreachable: 'The built-in mail service could not be reached or failed. The e-mail was probably not sent.',
statusTurnstileBadResponse: 'Cloudflare sent an unexpected response.',
statusTurnstileInternalError: 'Cloudflare reported an internal error. It usually passes on its own.',
statusTurnstileInvalidSecret: 'Cloudflare rejected the secret key. Both keys must come from the same widget.',
@@ -109,7 +109,7 @@ export const integrationsTexts = defineTexts({
testEmailSend: 'Send test e-mail',
testEmailSending: 'Sending…',
testEmailSent: 'Test e-mail sent to {{to}}.',
testEmailSentRelay: 'Test e-mail sent to {{to}} through the Intecion mail service, as "{{name}}".',
testEmailSentRelay: 'Test e-mail sent to {{to}} through the built-in mail service, as "{{name}}".',
testEmailSentSmtp: 'Test e-mail sent to {{to}} through your SMTP server.',
testEmailSubject: 'Test e-mail from {{site}}',
testEmailSubjectGeneric: 'Test e-mail from your website',
@@ -123,37 +123,37 @@ export const integrationsTexts = defineTexts({
mailRelayCheck: 'Sprawdź teraz',
mailRelayConnect: 'Połącz ponownie',
mailRelayConnected: 'Witryna jest połączona z usługą pocztową Intecion.',
mailRelayConnectFailed: 'Nie udało się połączyć witryny: {{reason}}',
mailRelayConnected: 'Witryna jest połączona z wbudowaną usługą pocztową.',
mailRelayConnectFailed: 'Nie udało się połączyć witryny. {{reason}}',
mailRelayDisconnect: 'Rozłącz',
mailRelayDisconnectConfirm: 'Rozłączyć witrynę z usługą pocztową Intecion? E-maile nie będą wysyłane, dopóki nie połączysz jej ponownie albo nie uzupełnisz serwera SMTP.',
mailRelayDisconnected: 'Witryna jest rozłączona z usługą pocztową Intecion.',
mailRelayDisconnectConfirm: 'Rozłączyć witrynę z wbudowaną usługą pocztową? E-maile nie będą wysyłane, dopóki nie połączysz jej ponownie albo nie uzupełnisz serwera SMTP.',
mailRelayDisconnected: 'Witryna jest rozłączona z wbudowaną usługą pocztową.',
mailRelayForbidden: 'Tylko administrator może to zrobić.',
mailRelayHeading: 'Jak wysyłane są e-maile',
mailRelayLoadFailed: 'Nie udało się odczytać stanu. Spróbuj ponownie.',
mailRelayLoggedOut: 'Sesja wygasła. Zaloguj się ponownie.',
mailRelayNameReplaced: 'Usługa pocztowa nie przyjęła nazwy nadawcy „{{asked}}”, więc e-maile wychodzą jako „{{used}}”. Wybierz inną nazwę poniżej.',
mailRelayNameReplaced: 'Nazwa nadawcy „{{asked}}” nie została przyjęta, więc e-maile wychodzą jako „{{used}}”. Wybierz inną nazwę poniżej.',
mailRelayNoReplyAddress: 'Nie ustawiono adresu do odpowiedzi. Uzupełnij „Adres nadawcy” poniżej, inaczej odpowiedzi na te e-maile przepadną.',
mailRelayOff: 'Usługa pocztowa Intecion jest wyłączona w tym projekcie.',
mailRelayOff: 'Wbudowana usługa pocztowa jest wyłączona dla tej witryny.',
mailRelayQuota: 'Pozostało w tej godzinie: {{hour}}. Pozostało dziś: {{day}}.',
mailRelayRefusedCallback: 'Usługa pocztowa nie mogła potwierdzić witryny pod adresem {{url}} ({{reason}}). Witryna musi odpowiadać tam z internetu, bez przekierowania. Jeśli witryna udostępnia API pod innym adresem, poproś Intecion o ustawienie adresu potwierdzenia dla tej witryny.',
mailRelayRefusedClosed: 'Usługa pocztowa nie przyjmuje teraz nowych witryn. Skontaktuj się z Intecion.',
mailRelayRefusedHost: 'Witryna nie ma publicznego adresu, pod który usługa pocztowa mogłaby się odezwać ({{host}}). Zadziała, gdy witryna będzie dostępna pod swoją domeną.',
mailRelayRefusedNoHost: 'Witryna nie zna własnego adresu. Administrator musi ustawić serverURL w konfiguracji Payload.',
mailRelayRefusedCallback: 'Usługa pocztowa nie mogła połączyć się z witryną pod adresem {{url}}. Powód: {{reason}}. Zapytaj administratora.',
mailRelayRefusedClosed: 'Usługa pocztowa nie przyjmuje teraz nowych witryn. Zapytaj administratora.',
mailRelayRefusedHost: 'Witryna nie ma jeszcze publicznego adresu ({{host}}). Usługa pocztowa zadziała, gdy witryna będzie dostępna pod swoją domeną.',
mailRelayRefusedNoHost: 'Witryna nie zna własnego adresu. Zapytaj administratora.',
mailRelayRefusedOther: 'Usługa pocztowa odpowiedziała: {{message}}',
mailRelayRepliesTo: 'Odpowiedzi trafiają na adres {{address}}.',
mailRelayStateActive: 'Połączono z usługą pocztową Intecion.',
mailRelayStateActive: 'Połączono z wbudowaną usługą pocztową.',
mailRelayStateDisconnected: 'Rozłączono. E-maile nie są wysyłane, dopóki nie połączysz witryny ponownie albo nie uzupełnisz serwera SMTP.',
mailRelayStateNotConnected: 'Jeszcze nie połączono. Witryna połączy się sama, gdy wyśle pierwszy e-mail.',
mailRelayStatePending: 'Witryna czeka na zatwierdzenie przez Intecion. E-maile nie są jeszcze wysyłane.',
mailRelayStateSuspended: 'Intecion wstrzymał wysyłkę e-maili z tej witryny. Skontaktuj się z Intecion.',
mailRelayToken: 'Token wydany przez Intecion',
mailRelayTokenHint: 'Tylko dla witryny, do której usługa pocztowa nie może się odezwać. Token zostanie zapisany i nie będzie więcej pokazywany.',
mailRelayTokenInvalid: 'To nie jest token usługi pocztowej.',
mailRelayTokenSave: 'Zapisz token',
mailRelayTransportGraph: 'E-maile idą przez Microsoft Graph. Ten sposób jest wycofywany i zostanie usunięty w wersji 2.0.',
mailRelayStatePending: 'Witryna czeka na zatwierdzenie, więc e-maile nie są jeszcze wysyłane. Zapytaj administratora.',
mailRelayStateSuspended: 'Wysyłka e-maili z tej witryny została wstrzymana. Zapytaj administratora.',
mailRelayToken: 'Wpisz klucz dostępu',
mailRelayTokenHint: 'Tylko jeśli administrator przekazał Ci klucz dla tej witryny. Klucz zostanie zapisany i nie będzie więcej pokazywany.',
mailRelayTokenInvalid: 'To nie jest klucz dostępu usługi pocztowej.',
mailRelayTokenSave: 'Zapisz klucz',
mailRelayTransportGraph: 'E-maile idą przez Microsoft Graph. Ten sposób zostanie usunięty w wersji 2.0.',
mailRelayTransportNone: 'Nie ustawiono żadnego sposobu wysyłki. E-maile nie są wysyłane.',
mailRelayTransportRelay: 'E-maile idą przez usługę pocztową Intecion, z adresu {{address}}.',
mailRelayTransportRelay: 'E-maile idą przez wbudowaną usługę pocztową, z adresu {{address}}.',
mailRelayTransportSmtp: 'E-maile idą przez Twój serwer SMTP.',
mailRelayWorking: 'Trwa…',
@@ -182,17 +182,17 @@ export const integrationsTexts = defineTexts({
'Microsoft Graph nie może tu wysyłać plików od 3 MB, więc większe pliki z formularzy są ograniczone lub idą przez SMTP. Zapytaj administratora.',
statusEmailGraphUnavailable:
'Wybrano Microsoft Graph, ale nie jest on skonfigurowany na serwerze, więc e-maile idą przez SMTP. Zapytaj administratora.',
statusEmailRelayAttachmentRefused: 'Usługa pocztowa Intecion nie przesyła plików tego typu. E-mail nie został wysłany.',
statusEmailRelayDisconnected: 'Witryna jest rozłączona z usługą pocztową Intecion, więc e-maile nie są wysyłane. Połącz ją ponownie albo uzupełnij serwer SMTP.',
statusEmailRelayError: 'Usługa pocztowa Intecion odrzuciła e-mail. Powiadom administratora.',
statusEmailRelayNotConfirmed: 'Usługa pocztowa Intecion nie potwierdziła ostatniego e-maila. Mógł zostać wysłany.',
statusEmailRelayPending: 'Witryna czeka na zatwierdzenie przez Intecion. E-maile nie są jeszcze wysyłane.',
statusEmailRelayQuota: 'Witryna osiągnęła limit wysyłki w usłudze pocztowej Intecion. E-mail nie został wysłany.',
statusEmailRelayRecipientSuppressed: 'Usługa pocztowa odrzuca jednego z odbiorców, bo wcześniejsze e-maile na ten adres wróciły. Nic nie zostało wysłane. Skontaktuj się z Intecion.',
statusEmailRelayRefused: 'Usługa pocztowa Intecion nie połączyła tej witryny. Zobacz stan powyżej albo uzupełnij serwer SMTP.',
statusEmailRelaySuspended: 'Intecion wstrzymał wysyłkę e-maili z tej witryny. Skontaktuj się z Intecion.',
statusEmailRelayTooLarge: 'E-mail lub jego pliki są większe, niż przesyła usługa pocztowa Intecion. E-mail nie został wysłany.',
statusEmailRelayUnreachable: 'Usługa pocztowa Intecion była nieosiągalna albo zawiodła. E-mail prawdopodobnie nie został wysłany.',
statusEmailRelayAttachmentRefused: 'Wbudowana usługa pocztowa nie przesyła plików tego typu. E-mail nie został wysłany.',
statusEmailRelayDisconnected: 'Witryna jest rozłączona z wbudowaną usługą pocztową, więc e-maile nie są wysyłane. Połącz ją ponownie albo uzupełnij serwer SMTP.',
statusEmailRelayError: 'Wbudowana usługa pocztowa odrzuciła e-mail. Powiadom administratora.',
statusEmailRelayNotConfirmed: 'Wbudowana usługa pocztowa nie potwierdziła ostatniego e-maila. Mógł zostać wysłany.',
statusEmailRelayPending: 'Witryna czeka na zatwierdzenie, więc e-maile nie są jeszcze wysyłane. Zapytaj administratora.',
statusEmailRelayQuota: 'Witryna osiągnęła limit wysyłki we wbudowanej usłudze pocztowej. E-mail nie został wysłany.',
statusEmailRelayRecipientSuppressed: 'Usługa pocztowa odrzuca jednego z odbiorców, bo wcześniejsze e-maile na ten adres wróciły. Nic nie zostało wysłane.',
statusEmailRelayRefused: 'Wbudowana usługa pocztowa nie połączyła tej witryny. Zobacz stan powyżej albo uzupełnij serwer SMTP.',
statusEmailRelaySuspended: 'Wysyłka e-maili z tej witryny została wstrzymana. Zapytaj administratora.',
statusEmailRelayTooLarge: 'E-mail lub jego pliki są większe, niż przesyła wbudowana usługa pocztowa. E-mail nie został wysłany.',
statusEmailRelayUnreachable: 'Wbudowana usługa pocztowa była nieosiągalna albo zawiodła. E-mail prawdopodobnie nie został wysłany.',
statusTurnstileBadResponse: 'Cloudflare zwrócił nieoczekiwaną odpowiedź.',
statusTurnstileInternalError: 'Cloudflare zgłosił błąd wewnętrzny. Zwykle ustępuje samoczynnie.',
statusTurnstileInvalidSecret: 'Cloudflare odrzucił klucz tajny. Oba klucze muszą pochodzić z tego samego widżetu.',
@@ -216,7 +216,7 @@ export const integrationsTexts = defineTexts({
testEmailSend: 'Wyślij testowy e-mail',
testEmailSending: 'Wysyłanie…',
testEmailSent: 'Testowy e-mail wysłano na adres {{to}}.',
testEmailSentRelay: 'Testowy e-mail wysłano na adres {{to}} przez usługę pocztową Intecion, jako „{{name}}”.',
testEmailSentRelay: 'Testowy e-mail wysłano na adres {{to}} przez wbudowaną usługę pocztową, jako „{{name}}”.',
testEmailSentSmtp: 'Testowy e-mail wysłano na adres {{to}} przez Twój serwer SMTP.',
testEmailSubject: 'Testowy e-mail z witryny {{site}}',
testEmailSubjectGeneric: 'Testowy e-mail z witryny',