1) No other instance running at the moment.
2) I ran this to make sure there was not a template that had 124 hard coded :
SELECT *
FROM ost_email_template
where body like '%124%'
LIMIT 50
it came back empty
I ran this to check the custom field names
SELECT *
FROM ost_form_field
where label like 'company%' or name like 'company%'
ORDER BY label
LIMIT 50
and it came back with two,
type label name configuration
choices Company Handbook company_handbook {"choices":"not_completed:not completed\r\ncompleted:completed\r\nna:not applicable","default":"","prompt":"","multiselect":false}
text Company Name name {"size":40,"length":64}
so neither having a variable name that matches that in the template of company.name
I ran this to see what entries there were for the second field
SELECT *
FROM ost_form_entry_values
where field_id = 23
LIMIT 50
and got just one returned value, of my real company name, not 124.
@KevinTheJedi thanks for those pointers. I'll keep an eye on the future emails it sends and be sure to check back to this post if it happens again.
I'm going to leave it for now as its not happened again since.