I have a question, how can I use the email that was filled in the "E-MAIL:" field of the form as the sender? I need you to press the reply button on the mailbox to fill in the email that is filled in the form ...
I have a question, how can I use the email that was filled in the "E-MAIL:" field of the form as the sender? I need you to press the reply button on the mailbox to fill in the email that is filled in the form ...
You do not need to put the email as the sender. You can use the replyTo
function for this. It is intended that when the email is answered by the mailbox, the response goes to the email entered in the replyTo
pendent function instead of the email that sent the email.
$mail->AddReplyTo('[email protected]', 'Reply to name');