Thanks Jason - not something I had noticed before.
I have managed to install and configure PEAR and SMTP on my site, and now have it working.
What I would now like to do is be able to test the same functionality, whilst working on my local test site, so I only need to update the $WA_MailObject Path to go live
I have installed PEAR, Mail and SMTP on my local testing server , and am logging my emails, however I get a send failure every time
My local settings are as below,
$WA_MailObject = WAUE_Definition("C:/Program Files (x86)/PHP/PEAR/","mail.localhost","25","","","false","","","","");
I am using vhosts in apache to give me a virtual domain name. but trying either this or localhost gives me an error
10001 - Failed to connect to mail.localhost:25 [SMTP: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: No such host is known. (code: -1, response: )] - Failure <br>
i checked my php.ini and smtp is localhost and port is 25
(Running Apache on Windows 7 x64)