Zmień adres e-mail odbiorcy w funkcji wysyłania wiadomości kontaktowych na marketing@vidok.com
This commit is contained in:
@@ -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' ), '', '', '' );
|
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' ) );
|
\S::alert( \S::lang( 'wiadomosc-zostala-wyslana' ) );
|
||||||
}
|
}
|
||||||
else
|
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'), '', '', '', '', );
|
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' ) );
|
\S::alert( \S::lang('wiadomosc-zostala-wyslana' ) );
|
||||||
}
|
}
|
||||||
else
|
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' ) );
|
\S::alert( \S::lang('wiadomosc-zostala-wyslana' ) );
|
||||||
}
|
}
|
||||||
else{
|
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'), '', '', '', '', );
|
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' ) );
|
\S::alert( \S::lang('wiadomosc-zostala-wyslana' ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user