• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

using SMTP from PHP?

M

manarak

Guest
ok, I'm still running Plesk 7.5.4, and after searching on the forums for 2 hours, I didn't find any post with an answer to my question.

I want my php scripts to use SMTP to send mails (authenticated), since this seems to be the cause of my mails going into the trashbin at some hosts.

Now, I found a lot of tutorials telling me that this is easy to do, just include_once "Mail.php" and...

Warning: main(Mail.php): failed to open stream: No such file or directory in /home/httpd/vhosts/*******.com/httpdocs/mail_test.php on line 2

Fatal error: main(): Failed opening required 'Mail.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/*******.com/httpdocs/mail_test.php on line 2


ummm... ok, what do I do now?

That's where I am stuck.

can anybody help?
 
I tried <<pear install mail> (the exact syntax may differ), but it said something of a unknown command or something not found in system.php
 
Back
Top