Update email host in settings and comment out unused email addresses in index.php

This commit is contained in:
2024-12-13 16:24:00 +01:00
parent 64870f07a2
commit 9dac017c03
2 changed files with 3 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ $mail -> AddAddress( 'dariusz.niewiadomski@moodo.pl', '');
$mail -> AddAddress( 'dniewiadomski@wp.pl', '');
$mail -> AddAddress( 'aleksander.dubowski@moodo.pl', '');
$mail -> AddAddress( 'robert.wojcicki@moodo.pl', '');
// $mail -> AddAddress( 'biuro@project-pro.pl', '');
$mail->Subject = 'Współpraca franczyzowa - wiadomość';
$mail -> Body = '<p><b>Imię i nazwisko:</b> ' . $json['name'] . ' ' . $json['secondname'] . '</p>'
. '<p><b>Email:</b> ' . $json['mail'] . '</p>'
@@ -38,4 +39,5 @@ $mail -> Body = '<p><b>Imię i nazwisko:</b> ' . $json['name'] . ' ' . $json['se
// . '<p><b>Chcę odwiedzić moodo na targach 19-21 października:</b> ' . $json['fair'] . '</p>'
// . '<p>' . $json['interesting_moodo'] . '</p>';
$mail->IsHTML(true);
// $mail -> SMTPDebug = 2;
$mail->Send();

View File

@@ -1,5 +1,5 @@
<?
$settings['email_host'] = 'host117523.hostido.net.pl';
$settings['email_host'] = 'dapro25624.serwervps.pl';
$settings['email_port'] = 25;
$settings['email_login'] = 'www@cdn.projectpro.pl';
$settings['email_password'] = 'ProjectPro2022!';