fix: route iqon contact form to office inbox
This commit is contained in:
@@ -44,9 +44,8 @@
|
|||||||
$new_mail = new PHPMailer(true);
|
$new_mail = new PHPMailer(true);
|
||||||
try {
|
try {
|
||||||
$new_mail->AddReplyTo($email, $nume);
|
$new_mail->AddReplyTo($email, $nume);
|
||||||
$admin_email = get_option('admin_email');
|
$admin_email = 'office@iqon.com';
|
||||||
//dv($admin_email);die();
|
$new_mail->AddAddress($admin_email);
|
||||||
$new_mail->AddAddress($admin_email);
|
|
||||||
//$new_mail->AddAddress('gabriel.ilie@gmail.com', 'Gabriel Ilie');
|
//$new_mail->AddAddress('gabriel.ilie@gmail.com', 'Gabriel Ilie');
|
||||||
$new_mail->SetFrom('contact@iqon.com', 'CONTACT FORM');
|
$new_mail->SetFrom('contact@iqon.com', 'CONTACT FORM');
|
||||||
$new_mail->Subject = '[IQON CONTACT FORM] '.$nume.' has sent you a message. Subject: '.$subject;
|
$new_mail->Subject = '[IQON CONTACT FORM] '.$nume.' has sent you a message. Subject: '.$subject;
|
||||||
|
|||||||
Reference in New Issue
Block a user