• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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