Hi
I see from debug that once an email has been sent, there is some flag set to indicate success. I can't find that. How can I check to see if the message went OK.
Thanks
Nick
I see from debug that once an email has been sent, there is some flag set to indicate success. I can't find that. How can I check to see if the message went OK.
Thanks
Nick
Hi Nick,
You can't check that at present except by turning debug on. If you need it, I can add the code tomorrow to put a variable in the $form->data[''] array.
Bob
You can't check that at present except by turning debug on. If you need it, I can add the code tomorrow to put a variable in the $form->data[''] array.
Bob
Hi Nick,
I've updated the Email [GH] action with two fixes:
a) Fixed a bug where single emails weren't being MX checked (lists and arrays were).
b) Added a new output. Here's the Help for it:
The Action will also add diagnostic information to the form debugger output and will set a value in the $form->data array that can be used to check if an email has been sent. The value is set in $form->data['email_gh'][action_name] where action name is the name set in the action configuration. The value will be 'true' if an email was sent or a message string if the email failed.
Bob
I've updated the Email [GH] action with two fixes:
a) Fixed a bug where single emails weren't being MX checked (lists and arrays were).
b) Added a new output. Here's the Help for it:
The Action will also add diagnostic information to the form debugger output and will set a value in the $form->data array that can be used to check if an email has been sent. The value is set in $form->data['email_gh'][action_name] where action name is the name set in the action configuration. The value will be 'true' if an email was sent or a message string if the email failed.
[email_gh] => Array
(
[test] => No valid To Email address found
)
Bob
This topic is locked and no more replies can be posted.