Phpmailer smtp

been using phpmailer with html5 web forms and setting the smtp credentials in a configuration.php file
but now wondering how safe that is and how easy it would be for anyone to hack into my email account with the username/password ?

would apprciate any tips on improving my novice php skills
cheers!

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.

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