Phpmailer smtp

If you have access to a folder above the public one then move the configuration file there. If you don’t want to touch where the script looks for the file then replace the content of the original configuration file with an include statement that references it from the new location.