Getting there....but still cannot send email to mutiple "teams"
1.
The only code I changed in the recordset loop is removing the (s) from teams. Being new to this I wasn't sure what could stay and what needed to match the column name in the database so I made everything "team". I have also changed it back to exactly what you sent where it says "teams" in the recordset loop parameter and the page code, but still no luck.
I have also made the other changes in your most recent suggestions but still no luck on getting the form to email multiple "teams".
Updated code attached.
2. SOLVED
The return on the sql statement you requested after adding the session start is
SQL: SELECT id, email FROM patroller WHERE id = 224661
Before the session start was added it returned -1
The form is now returning the correct email "from" address when the email is sent. There was no session start originally due there being one within a server side include which gets the logged in users name and displays that as a welcome message, but adding it to the form page makes the return address work now.