How do you set the correct From Email and Reply-To in WordPress?

Set From Email to a stable address on a domain authorized by the mail service. It identifies the system that sent the message and should align with SPF, DKIM, and DMARC. A form visitor address is a poor From value because the site is not allowed to send on behalf of arbitrary domains.
Use Reply-To for the address that should receive a human response. A contact form can send from [email protected] while placing the submitter email in Reply-To. Validate the form field first so an attacker cannot inject headers or supply an invalid address.
Configure the default sender in the SMTP plugin, then review notification settings in forms, ecommerce, membership, and security plugins. Force the From address only if those messages should share one identity. Send real notifications and inspect their raw headers to confirm the final From, Reply-To, return path, and authentication results.