Odd behaviour of Universal Email
I am struggling to get Universal Email to work for me in some ways. It's for a job website where people apply directly to an employer rather than through the agency. I am trying to notify the employer they have a new application for job XYZ and it's being emailed to their specified email address entered in the DB.
The from address is that from the submitted form. The 'To' address coming from a recordset, and I have also been adding and removing a second hard coded To address to test for sure. The thing is, the email only triggers when the hard coded address is there. If I remove the hard coded address, nothing seems to happen, or I think it's gong to another email address from another record even though the correct record has been loaded into the form page.
Also, the subject isn't being filled in by the DB. It's blank all the time. Just to clarify, I am receiving an email to the DB driven address only when a hard-coded email exists, therefore I assume it is pulling some data through the recordset to the email behaviour, but not all of the info
The recordset I am working with is called rs_vacancy and I've added 'global $row_rs_vacancy;' to the Blank_3.php created by UE, but no joy. I am also dumping the results of the emailing to the thank you page and it's showing that it's working as far as sending is concerned, but I can't see the correct email address that should be pulled from the DB.
I've attached the files in question to see if you can see anything wrong.
Thanks