Hi WFederation,
I just ran a quick test here using your code with the Email [GH] action and the emails are being sent OK from my test site.
Not sure what else to look at . . .
Bob
I just ran a quick test here using your code with the Email [GH] action and the emails are being sent OK from my test site.
Not sure what else to look at . . .
Bob
Hi WFederation,
Much debugging later I've cracked it. In the Custom Code action there is a 'Mode' setting. This was set to 'View' mode; if you switch it back to the 'Controller' mode then the email is sent OK.
View mode is only run after the rest of the processing is complete and so the variables are not present for the Email action to use.
Bob
PS The hidden inputs in the Custom Code action create some errors and son't do anything so they should probably be removed.
PPS I'm not sure why the standard Email action doesn't have the same problems . . .
Much debugging later I've cracked it. In the Custom Code action there is a 'Mode' setting. This was set to 'View' mode; if you switch it back to the 'Controller' mode then the email is sent OK.
View mode is only run after the rest of the processing is complete and so the variables are not present for the Email action to use.
Bob
PS The hidden inputs in the Custom Code action create some errors and son't do anything so they should probably be removed.
PPS I'm not sure why the standard Email action doesn't have the same problems . . .
This topic is locked and no more replies can be posted.