close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

re: PEAR mail with SMTP authentication not working

Thread began 8/15/2012 6:40 pm by stephens154017 | Last modified 8/16/2012 10:07 am by Jason Byrnes | 901 views | 3 replies |

stephens154017

re: PEAR mail with SMTP authentication not working

Hello,

I'm using Universal Email 4 with PEAR mail over SMTP with authentication. The location to pear mail (D:\Additional\PHP5\PEAR) is correct and the email account where using to send the email but we are getting the following error;

-----------
Warning: require_once(D:\Additional\PHP5\PEARMail.php) [function.require-once]: failed to open stream: No such file or directory in D:\HostingSpaces\stormproofings\stormproofings.co.uk\wwwroot\webassist\email\PEAR_Mail_using_SMTP_php.php on line 229

Fatal error: require_once() [function.require]: Failed opening required 'D:\Additional\PHP5\PEARMail.php' (include_path='.;D:\Additional\PHP5\pear;./;./includes;D:\Additional\PHP5\PEAR\;D:\Additional\PHP5\') in D:\HostingSpaces\stormproofings\stormproofings.co.uk\wwwroot\webassist\email\PEAR_Mail_using_SMTP_php.php on line 229

-----------
One thing we did notice was that the extension was appending the link to PEAR with Mail.php so D:\Additional\PHP5\PEAR was changed to D:\Additional\PHP5\PEARMail.php

Can you help please.

Thanks, Stephen

Sign in to reply to this post

Jason ByrnesWebAssist

you need to add a trailing slash to the path to pear.

instea of:
D:\Additional\PHP5\PEAR

use:
D:\Additional\PHP5\PEAR\

the path to pear is uesed to find the Pear Mail.php file on the server

so it should be finding:
D:\Additional\PHP5\PEAR\Mail.php

it can only do that if you add on the needed \ at the end.

Sign in to reply to this post

stephens154017

Hello,

I added the additional \ slash as recommended but the error still exists?

See below.

Thanks, Stephen


Warning: require_once(D:\Additional\PHP5\PEAR\Mail.php) [function.require-once]: failed to open stream: No such file or directory in D:\HostingSpaces\stormproofings\stormproofings.co.uk\wwwroot\webassist\email\PEAR_Mail_using_SMTP_php.php on line 229

Sign in to reply to this post

Jason ByrnesWebAssist

This means that either the Pear Mail package is not installed on the server, or the Path to Pear is not correct.

you will need to contact the host for assistance.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...