Well, I created a test2.php file that just echo’s a line of text. And it does.
I used the test.php code to load that second file using REQUIRE instead of REQUIRE_ONCE.
It worked and displayed the second line of test text. Therefore I know the code was pulling files from the phpmailer folder.
Next, I set up the rest of the code. There were some errors and I fixed those.
This last time it said it sent out the email. Please check your email and see if you got it.
(Actually, I sent a couple…)
Now, the errors did not show up. I did not end up loading all the extras for the phpMailer library. Just what you needed.
To check errors, they are posted in your folder where the program is running. And, there is none now.
Hopefully you got a couple emails from the site. I have to leave for several hours. You should change your password now. You can give me the new one if I need it later on. Now that the code is working, you can moving it to the main site’s pages. If you can’t figure it out OR if you did not get the test emails, I can help you in the morning… (Or tomorrow night if you are working tomorrow.)
Hope it worked! Gooddnight…