Emails - PHP and Dreamweaver
I have made good progress with David Powers 'Training from the Source' until Chapter 8 - Emails.
I have the following message from the Mail Connector
Fatal error: Class 'Zend_Mail_Transport_Sendmail' not found inC:\Xampp\xampp\htdocs\phpcs5\lesson08\workfiles\scripts\mail_connector.php on line 7
The details I entered were as as follows:
<?php
$mailhost = 'smtp.btconnect.com';
$mailconfig = array('auth' => 'login',
'username' => 'mrwhitegrassroot@btconnect.com',
'password' => '************',
'ssl' => 'ssl');
$transport = new Zend_Mail_Transport_Sendmail('-fmrwhitegrassroot@btconnect.com');
Zend_Mail::setDefaultTransport($transport);
I have blotted out my password but I don't think that is the problem.
I currently have one active website on my remote server but that is a static site.
I tried to test the remote server without success probably because it is not linked up to PHP.
Could it be that the emails will not work until I have a remote server that is favourable to PHP?
