In particular considering using something like this:
Instead of replacing the default created form script, it should be possible somehow to just select Custom instead of Self Hosted and offer a custom action url that utilizes this script in the Action field …
(The referenced zip file seems to contain the required PHPMailer files.) … But I havent’t been able to quite figure out the required custom-action-url yet …
If I use a copy of the original script created by Blocs, just give that as the action url, it works in the way that it sends the email, but I end up in a blank page. So I guess there’s some js magic happening in the default/self-hosted setup, that Custom does not replicate …
(I need a break now, will look more later.)
Edit: I was able to make my own PHPMailer script that successfully sends the email. But with the default Blocs script, one get a nice added Success/Failure message. With the Custom script, I end up at my script and whatever output I add to that.
Would it be difficult to pull in/return the JS or whatever the default script uses? (@Norm ?)
(If I just leave it at Self Hosted and replace the script generated by Blocs with my own, email is sent by SMTP, and it behaves as before, but if I invoke my script using Custom action, I get a blank white page.)