Mail tags ignored for From: and Reply-to:
-
Hi,
I’m trying to use mail-tags for the “From:” header and the “Reply-to:” header.
I have a SELECT setup like so:
[select* location first_as_label "Select a Showroom" "Single Entry 1|[email protected]" Multiple Entry 1|[email protected],[email protected]" "Multiple Entry 2|[email protected],[email protected]"]
In the “Mail” config tab for this form, I use “[location]” for the “From:” and “Additional Headers” (where the reply-to is generated, eg: Reply-to: [location]) fields.
In no case does the “From:” header ever get replaced – it’s always using WP’s main setting for site email.
For the reply-to, the [location] mail-tag works if there’s only one address, but the entire header is not even added if two addresses are included. Syntax for multiple is proper according to RFC 5322 – just put a comma between the addresses.
Is there any reason the “From:” can’t be manipulated? The Additional Headers part seems more like a bug…
The “additional headers”
- The topic ‘Mail tags ignored for From: and Reply-to:’ is closed to new replies.