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