Hello, The contact form isn't working well with my server (DreamHost). If a user enters their email address as being
[email protected], the mail doesn't go through - and I don't know anything about it. Apparently, this has been the case for a few months now, and is very disappointing to hear that I've been losing customer questions! The solution would be to insert my email address (
[email protected]) into the 'from' field of messages, and have the user's email address appear as the 'reply-to'. I am not sure how to do this. The code in my /contact-form.php file is as follows:
if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $_POST['from'], '{message}' => stripslashes($message)), $contact->email, $contact->name, $from, (intval($cookie->id_customer) ? $customer->firstname.' '.$customer->lastname : $from)))
$smarty->assign('confirmation', 1);
What do I change? Thank you for your help! P.S. The same code, but perhaps in a form that's easier to read: