I have a contact us form, whereby the user enters his name,email address and question.
The user enters his name, email address and the question. The question is sent to my inbox and then from my inbox when i click on the mail, reply, i should be able to reply to the email which the user inserted,
Email client is gmail
using the code below, it is not working,
$mail->SMTPAuth = true;
$mail->Username = "info@noupei.com";
$mail->Password = "xxxxxxxxxxxxxxxxx";
$mail->AddAddress("info@noupei.com",$Username);
$mail->AddReplyTo($UserEmailAddress,$Username);
$mail->IsHTML(true);
$mail->Subject = "From ContactUs Form:".$Username;
the mail is comming into my inbox but when I'm pressing reply, it is replying to my inbox itself