Add emails

This commit is contained in:
Roman Pyrih
2026-04-24 11:11:51 +02:00
parent 27a00bba84
commit a7a739ccb8

View File

@@ -95,6 +95,9 @@ if ( \S::get( 'a' ) == 'send_contact_form' and \S::get( 'token' ) == \S::get_ses
}
if ( \S::send_email( $send_email, 'Wiadomość ze strony gb.vidok.com', $text, \S::get('email') ) ) {
\S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'));
\S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'));
saveContactData(
\S::get( 'name' ),
\S::get( 'email' ),
@@ -158,6 +161,9 @@ if ( \S::get('action') == 'send-contact-modal' and \S::get( 'token' ) == \S::get
$text .= '<p style="font-size: 13px; color: #ccc; margin-top: 50px;"><b>Wysłano:</b> ' . date( 'Y-m-d H:i:s' ) . '</p>';
if ( \S::send_email( 'l.paczkowska@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) {
\S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send);
\S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send);
saveContactData(
\S::get('name'),
\S::get('email'),
@@ -220,6 +226,9 @@ if ( \S::get( 'action' ) == 'send-services' and \S::get( 'token' ) == \S::get_se
$msg = '<p><b> Dziękujemy za kontakt z działem Serwisu i Reklamacji VIDOK.</b></p><p><b> Zgłoszenie ma obecnie status „rozpoczęte” i zostało zarejestrowane w naszej bazie danych. W przeciągu 5 dni roboczych, pracownik działu serwisu skontaktuje się z Państwem w celu informacji o statusie zgłoszenia.</b></p>';
if ( \S::send_email( 'l.paczkowska@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) {
\S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send);
\S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send);
\S::send_email( \S::get( 'inputEmail' ), 'Wiadomość ze strony vidok.com',$msg, );
saveContactData(
\S::get( 'inputName' ),
@@ -287,6 +296,9 @@ if ( \S::get('action') == 'send-contact-landing' and \S::get( 'token' ) == \S::g
$text .= '<p style="font-size: 13px; color: #ccc; margin-top: 50px;"><b>Wysłano:</b> ' . date( 'Y-m-d H:i:s' ) . '</p>';
if ( \S::send_email( 'l.paczkowska@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) {
\S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send);
\S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send);
saveContactData(
\S::get('name'),
\S::get('email'),