This seems simple, but...I'm having trouble modifying the sender name. I would like the email I receive from the contact form to be from: "example" firstname.lastname@example.org instead of "wordPress" email@example.com.
The confusing part is that the first time I put the code in, it seemed to work, however I saw different results on different computers. It came into my email correctly, but not my co-worker's.
I've tried modifying it different ways, but now it always shows the domain name as the sender, and not the text I have put into the form.
Mail that comes through the contact form shows “WordPress” as its sender name. How can I change this?
A sender’s address is comprised of a sender’s email address and an optional sender name. WordPress assigns “WordPress” as a sender name if the settings have not been formatted. If you want to use another name so that “WordPress” no longer appears as your sender name, you must explicitly set the sender name in the ‘From:’ field in the ‘Mail’ section as the following:
Sender Name <firstname.lastname@example.org>