Installation of phpmailer for OJS

i got this output while i try to install phpmailer on root directory. please tell me this is correct or not.

Hi @aravindiitd2022,

It’s not clear what you’re trying to do. Can you say a little more about why you’re installing PHPMailer, and what version of OJS you are using?

Regards,
Alec Smecher
Public Knowledge Project Team

OJS 3
PHPMailer is for sending email from OJS platform

Hi @aravindiitd2022,

Did you install OJS from the .tar.gz download? If so, then PHPMailer (or equivalent) is already included with OJS, and you don’t need to install it yourself.

Regards,
Alec Smecher
Public Knowledge Project Team

I have installed like that only using composer.

Hi @aravindiitd2022,

You can’t install OJS using Composer. How did you install OJS?

Regards,
Alec Smecher
Public Knowledge Project Team

I have installed ojs normally (web installer). After for installing phpmailer I have used composer. The output screenshot has been attached on the 1st query

Hi @aravindiitd2022,

I’m guessing you installed OJS using either the .tar.gz file (downloaded from the PKP website) or something like Softaculous on a CPanel-type hosting platform.

If you’re using OJS 3.2.x or 3.3.x, then PHPMailer will already be installed.

If you’re using OJS 3.4.x, then we’ve replaced PHPMailer with Symfony’s mail delivery toolkit.

In both cases it’s not necessary to install PHPMailer.

Regards,
Alec Smecher
Public Knowledge Project Team