Unable to find Mail.php to include

Shaif

Registered
Dec 11, 2015
1
0
1
Mangalore
cPanel Access Level
Root Administrator
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.