Set Sender address in code (depending on used form)
-
Hi,
When sending messages via form plugins, the FROM address gets set in the form settings. However in the email header there is also a Sender value, that is set in the From value on the Message tab in SMTP Post SMTP.
So for the normal user, they will see the correct From address in the email, however a tool I use uses the Sender field, and for all forms that is always the same address that’s set in the Post SMTP settings.
Is there a way, some kind of hook, that I can use in code to change this FROM/Sender field ? That way I could code it that it will change the Sender depending on the form that was used.
Thx for getting back to me!
G.
- The topic ‘Set Sender address in code (depending on used form)’ is closed to new replies.