Hi, Has anyone on this list successfully accessed CDO using the COM support in PHP version 4.2.1?
I would be greatful if they would share configuration tips. I have tried running this script a thousand times with no success: <?php $message = new COM('CDO.Message'); $message->To = '[EMAIL PROTECTED]'; $message->From = '[EMAIL PROTECTED]'; $message->Subject = 'This is a subject line'; $message->HTMLBody = '<html><body>This is <b>the</b> body!</body></html>'; $message->AddAttachment('http://www.ActiveState.com'); $message->Send(); ?> I don't get an error message or anything. The page looks like it is processing for several seconds then the status line reads "Done." but i check the email and nothing has been received. I'm currently running Windows 2000 Professional under IIS configured as described in the documentation. I also installed the CDO objects from the Microsoft Office CD. Do I need to have Exchange Server installed on the box too? I have no problem accessing Word or Excel using PHP through COM so I think the configurations are setup correctly in PHP? I would really like to get this up and running, because the alternative is having to get up to speed with ASP and doing it that way. Any help would be greatly appreciated. Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php