close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Error on php 5.4 for Pear Mail

Thread began 2/16/2015 1:34 pm by Larry | Last modified 4/06/2015 9:25 am by Larry | 5300 views | 7 replies

CraigRBeta Tester

thanks for the reply Ray

I have Mail, Net_SMTP, Net_Socket and Auth_SASL installed, (the other packages install by default on godaddy anyway).

I checked the server, the files seem to be there. the problem stems from line 349

$this->_smtp = &new Net_SMTP($this->host,



*UPDATE*

I checked the file locations compared to another host I use - just the same.

So I changed the file path in smtp.php on line 348 from relative to absolute

include_once 'Net/SMTP.php';



to

include_once '/absolutepath/Net/SMTP.php';



This gave me a different error about being unable to find Socket.php

So in SMTP.php I changed the path on line 22

from

require_once 'Net/Socket.php';



to

require_once '/absolutepath/Net/Socket.php';




This then reloads the page without errors. (and adds an entry to the email log), so all i had to do next was configure the port and username settings.

Success !! - but I won't be recommending godaddy as a host ;-(

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...