python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why would the selfsame code instanciating PHPMailer work in one file/directory and not work in another?
The attached code works perfectly on our server.
FYI, the commented-out require() statement loads a file containing every line of what follows it exactly.
The problem occurs when I uncomment the requi...
unpocoloco
Votes: 0
Answers: 1
Could not instanciate mail function with PhpMailer
I'm using Laminas framework for a project I'm developing. I installed Node.js to use maildev as SMTP server for sending mail e-mails with PHPMailer and everything is working well.
The next step is to ...
Samuel N.
Votes: 0
Answers: 0
PHPMailer not working when function is within and included file
Something is mighty odd. I created a basic test file with the code from PHPMailer.
# Import the PHPMailer class into the global namespace
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMT...

ActiveAdam
Votes: 0
Answers: 1