Forums

different mails for sender- howto

rincewind 21 Sep, 2016
Hello,
i have a dropdown with to choices in my form and want, depending on what value is choosen, another mail goes to the sender, is this possible to have several answer-mails related to forminput instead of only one?

thx
GreyHead 22 Sep, 2016
Hi rincewind,

If you want to change a part (or all) of the Email template depending on the form data you can do this using PHP in the email template - or by using a Custom Code action before the email action.

What exactly do you need to change? Can you give an example?

Bob
rincewind 22 Sep, 2016
Hi Bob

i have a dropdown in the form with option-a,option-b; when choosing option-a the sender of the form should get confirmationmail-a, when choosing option-b the sender of the form should get confirmationmail-b after sending.

thx
GreyHead 22 Sep, 2016
Hi rincewind,

The previous method would still work - you'd just be changing the whole email template. It might be simpler to use an Event Switcher action with one event for each option and add a separate email action in each event. A little bit more work that way but simpler to understand when you come back to the form in the future.

Bob
rincewind 22 Sep, 2016
thanks for quick replay, i will try it that way.
This topic is locked and no more replies can be posted.