• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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