• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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