Regarding smpt_auth test-procs, the first argument is expecting the server address with the port. I’d like to separate the two fields into a host and port in the settings UI. How can I concatenate two strings in the arg_field?
test_proc:
display_name: Test SMTP Authentication
command: smtp_auth
arg_fields:
- **smtp_host_address:smtp_port** # this won’t work
- smtp_starttls
Unfortunately, test procs are rather rigid in what they accept. arg_fields is an array, and we can’t concatenate things within that array. However, we can concatenate things outside of that array, using a hidden config item and template functions.