im using phpmailer to send email, what is confusing me is that: (this actually is not a problem about phpmailer, but is what did i face when i tried to call phpmailer class in my php file)
firstly, i tried to include the phpmailer class file by:
it didn't work. it said "files can't find".
then i tried: require("config.php");
require "lib/MailClass.inc"; it works
could someone explain this for me?
really confusing now