phpMailer location

If I install phpMailer( ) in a directory outside of my web root, will it still work okay?

(NOTE: I will be pointing phpMailer( ) to my web host’s SMTP server.)

Thanks.

Yup. In fact, it’s better that way.

2 Likes

@Jeff_Mott,

That was easy. Thanks!

Hopefully I can get phpMailer working on my client’s website - have been stuck in the Dark Ages using mail( ) for too long.

You’ll probably want to take a look at https://getcomposer.org/ to install https://packagist.org/packages/phpmailer/phpmailer

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.