JasonZC;11013535 wrote:The Syntax errors were only displaying in my Code editing program on my local computer. :/
Sounds like you need to get a new editor... perhaps one that actually understands PHP code? 😉
JasonZC;11013535 wrote:The server is not showing any errors in any logs whatsoever.
Well there's probably only one log of interest - either the webserver's general error log, or the error log you've configured PHP to use. That last part depends on PHP's error logging directives being properly configured (hence why I asked about them but have yet to receive a response).
JasonZC;11013535 wrote:It is acting like it is sending
How do you know? None of the code you've posted thus far even bothers to check the return value of mail(), so how do you know PHP was even able to successfully communicate with an MTA and queue the message for delivery?
JasonZC;11013537 wrote:And I just confirmed using a different code editor, there are no syntax errors at all.
What if that editor doesn't understand PHP syntax either? 😉 A more authoritative test would be to simply use PHP's built-in lint checker (the '-l' CLI option). The real test would be to see whether PHP logs any syntax errors on your webserver - after all, it's your webserver that is going to be executing the code, so it doesn't really matter what any editor on your PC says (or doesn't say).
JasonZC;11013537 wrote:I have also double and triple checked the form element IDs as well to make sure they match up to the $_POST[field_1] areas, and they do.
"IDs" ? If you're talking about the "id" attribute, then you're looking at the wrong data - HTML element ID values don't get used in form submissions; it's the elements' names that are used.
EDIT: Also, are you sure that your webserver is able to send e-mails on behalf of the domain you're using in the 'From' address? (For example, if the domain has an SPF record, is your external webserver's IP/hostname allowed by that record?). If the only reason the message isn't appearing in the desired mailbox is because it looks like spam, then you might have more success by adding additional e-mail headers (Content-Type, MIME-Version, to make the message look more legitimate.