- πΊπΈUnited States tr Cascadia
As I said, $from is always an email address. The two things you give as examples are explicitly site names - general text fields - and are not used for the Return-Path.
Marking this as a duplicate of π RfcComplianceException: RFC 2822 Needs work