Add emails

This commit is contained in:
Roman Pyrih
2026-04-24 11:14:27 +02:00
parent 96429cbeed
commit 1adc1ce777

View File

@@ -101,6 +101,9 @@ if ( \S::get( 'action' ) == 'footer_contact_mail_send' and \S::get( 'token' ) ==
if ( \S::send_email( 'm.kawa@vidok.com', 'Wiadomość ze strony it.vidok.com', $text, \S::get( 'email' ) ) ) if ( \S::send_email( 'm.kawa@vidok.com', 'Wiadomość ze strony it.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'));
\S::alert( \S::lang( 'wiadomosc-zostala-wyslana' ) ); \S::alert( \S::lang( 'wiadomosc-zostala-wyslana' ) );
} }
else else
@@ -180,6 +183,9 @@ if (
if ( \S::send_email( 'm.kawa@vidok.com', 'Wiadomość ze strony it.vidok.com', $text, \S::get( 'email' ), $files_to_send ) ) if ( \S::send_email( 'm.kawa@vidok.com', 'Wiadomość ze strony it.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::alert( \S::lang( 'wiadomosc-zostala-wyslana' ) ); \S::alert( \S::lang( 'wiadomosc-zostala-wyslana' ) );
} }
else else