diff --git a/plugins/special-actions-middle.php b/plugins/special-actions-middle.php index 4fade80..0736636 100644 --- a/plugins/special-actions-middle.php +++ b/plugins/special-actions-middle.php @@ -96,9 +96,8 @@ if ( \S::get( 'action' ) == 'send-contact' and \S::get( 'token' ) == \S::get_ses saveContactData( \S::get( 'inputName' ), \S::get( 'inputEmail' ), '', \S::get('message'), '', \S::get( 'inputTitle' ), '', '', '' ); - if ( \S::send_email( 'k.rzeszutek@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) + if ( \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) { - \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ); \S::alert( \S::lang( 'wiadomosc-zostala-wyslana' ) ); } else @@ -160,9 +159,8 @@ if ( \S::get('action') == 'send-contact-modal' and \S::get( 'token' ) == \S::get saveContactData( \S::get('name'), \S::get('email'), \S::get('phone'), \S::get('information'), \S::get('address'), '', '', '', '', ); - if ( \S::send_email( 'k.rzeszutek@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) + if ( \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) { - \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ); \S::alert( \S::lang('wiadomosc-zostala-wyslana' ) ); } else @@ -297,9 +295,8 @@ if ( \S::get('action') == 'send-contact-landing' and \S::get( 'token' ) == \S::g '' ); - if ( \S::send_email( 'k.rzeszutek@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) + if ( \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) { - \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ); \S::alert( \S::lang('wiadomosc-zostala-wyslana' ) ); } else{ @@ -379,9 +376,8 @@ if ( \S::get('action') == 'send-contact-form-new' and \S::get( 'token' ) == \S:: saveContactData( \S::get('name'), \S::get('email'), \S::get('phone'), \S::get('message'), \S::get('postal_code'), '', '', '', '', ); - if ( \S::send_email( 'k.rzeszutek@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) + if ( \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ) ) { - \S::send_email( 'marketing@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send ); \S::alert( \S::lang('wiadomosc-zostala-wyslana' ) ); } else