Unable to find Mail.php to include
Hi,
I have setup exim mail in my server. I am trying to send mail the code is like
Warning: require_once(Mail.php): failed to open stream: No such file or directory in /home/{Username}/public_html/{directory}/send-mail.php on line 3
Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /{Username}/public_html/{directory}/send-mail.php on line 3
I can able to send mails from domain/webmail. But I cant able to find PHP Mail function to use SMTP. In few forums its been given that the path can be found in PHP folder
like php/Mail.php. Anyhow I cant find php file or mail.php in all the files. currently my include path code line is
require_once 'Mail.php';
I have given different paths. still not working. How can i actually check whether Mail.php is exists or not.
-
Hello :) You can install an application such as PHP Mailer: PHPMailer/README.md at master " PHPMailer/PHPMailer " GitHub Thank you. 0
Please sign in to leave a comment.
Comments
1 comment