close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Having problems with PEAR Mail using SMTP

Thread began 4/28/2015 5:45 am by Banksie | Last modified 5/07/2015 3:57 pm by Ray Borduin | 872 views | 11 replies |

Banksie

Having problems with PEAR Mail using SMTP

I've recently changed web hosts and have to modify all previous instances of UE4 (4.0.1) generated messages.

I've tested that PEAR / Mail.php is present & working with a simple test script but am now getting errors thrown back which seem to be UE4 issues; mainly that on submission the script can't find the mail template files to use in compiling the messages / responses. I have checked that all templates are present in the webassist/email/templates directory on both my testing (local) system AND my new web host.

The error being reported seems to point to the fact that UE is looking for the template file (see below - Blank_2.php) in the email difrectory and not the sub-directory.

Any thoughts?

Regards

Gary

TYPICAL ERROR MESSAGE (from the remote web host):

Warning: require(Blank_2.php) [function.require]: failed to open stream: No such file or directory in E:\Inetpub\vhosts\fbproductions.co.uk\charlienailsandbeauty.co.uk\webassist\email\mailformatting_php.php on line 142

Warning: require(Blank_2.php) [function.require]: failed to open stream: No such file or directory in E:\Inetpub\vhosts\fbproductions.co.uk\charlienailsandbeauty.co.uk\webassist\email\mailformatting_php.php on line 142

Fatal error: require() [function.require]: Failed opening required 'Blank_2.php' (include_path='./includes;./pear;E:\Parallels\Plesk\Additional\PleskPHP5\PEAR') in E:\Inetpub\vhosts\fbproductions.co.uk\charlienailsandbeauty.co.uk\webassist\email\mailformatting_php.php on line 142

Sign in to reply to this post

Ray BorduinWebAssist

Are you sure you uploaded the Blank_2.php file to the live site? The error implies you may not have. That file will not be included with "dependent files" by dreamweaver, so it has to be uploaded separately.

Sign in to reply to this post

Banksie

Hi Ray, I'm most certain that all dependent files have been uploaded - I don't use DW to upload my files to the remote server but do it all with a separate FTP client (as have seen what DW can & can't do in the past!).

To confirm that you could take a look at http://charlienailsandbeauty.co.uk/webassist/email/templates/Blank_2.php to see the bones of the test template file that's been uploaded and which is being referenced in the script.

To me it seems that the error is coming somewhere in the mailformatting_php.php which doesn't seem to see / prepend the path to the script (ie in the templates sub-directory) leaving it to look in the root directory for it!

Just to confirm; I'm using DW CS4 on a PC running Windows 8.1 and the WA extension UE4.0.1 and trying to use PEAR Mail

Sign in to reply to this post

Ray BorduinWebAssist

Please provide a copy of the page that sends the mail as well as the include file it uses for the mail settings. I'll take a look and see if I can spot the problem.

Sign in to reply to this post

Banksie

Hi Ray - I responded direct to your email address on this yesterday - did you receive my email? Any ideas?

Sign in to reply to this post

Ray BorduinWebAssist

I didn't get it... please attach it here to this thread.

Sign in to reply to this post

Banksie

Attached. Looking forward to your thoughts

Sign in to reply to this post

Ray BorduinWebAssist

The pages look correct. I'd have to debug this with you directly. Please post a phone number and I'll help you debug it.

Sign in to reply to this post

Banksie

See private message

Sign in to reply to this post

Ray BorduinWebAssist

We need to use Skype for international customers, so please post your skype contact information in the private area of a reply to this message.

Sign in to reply to this post
loading

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