FORMS: How to change the FROM field to be the email address of the customer and not my own email address

Permalink
I have a form on my website which works fine but the resulting email which is sent to my email address when a customer completes the form says the email is from ME with the customer's email address in the reply-to field.

Is there a way to change this so that the email looks like it's FROM the customer and not from myself?

 
mnakalay replied on at Permalink Reply
mnakalay
It would require a little coding to do so but frankly, it is not recommended.

Many if not most email providers will mark emails like that as spam and to not be trusted. The reason is you want to send an email stating it is from a certain person using a certain email service when it is obviously not the case. The email is sent by your server using your own system. You will only get in trouble doing it that way.
Petersewell replied on at Permalink Reply
That make perfect sense.

But, when I had a website which I manually coded in HTML I used formmail.php which did this exact thing. It would send emails which the FROM field was the person who filled in the form.

But I totally agree with your reasoning.
mnakalay replied on at Permalink Reply
mnakalay
I agree that it sometimes works depending on the service. I know AOL totally block those. I think Outlook is a bit touchy about it and GMAIL sometimes reacts as well. It's just not a safe way to do it if you want to make sure your emails get delivered.