Home » Php » php – phpmailer call to same folder from multiple files

php – phpmailer call to same folder from multiple files

Posted by: admin February 25, 2020 Leave a comment

Questions:

I have a file that sends one type of email to one group of people and I have another that sends another type of email to another group of people. Both files call the same phpmailer folder.
If they are called at the same time, is there a problem with sending the email?

How to&Answers:

No problem. You can have as many different scripts as you like using the same PHPMailer library at the same time. So long as you keep your scripts that use PHPMailer separate, there are no problems doing this.