FROM field with tag gets blanked if tag is blank
-
I have a contact form configured to omit lines in which a tag is blank.
This behavior also happens with the FROM: field. I just noticed that even though my contact form should be sending email FROM: special-email-address@mydomain, it is in fact sending email FROM: my default WordPress FROM: address in cases where the tag in the FROM: field is blank.
My FROM: field is configured as:
[your-name] <special-email-address@mydomain>
For messages where [your-name] is blank, this apparently gets blanked out.
Removing the tag from the FROM: field causes all emails to be sent FROM: special-email-adrdess@mydomain, as expected.
Expected behavior: the “omit lines with blank tags” setting should apply only to body text, and not to the FROM: field
- The topic ‘FROM field with tag gets blanked if tag is blank’ is closed to new replies.