note 37338 deleted from ref.com by danbrown
| From: | danbrown@php.net | Date: | Mon, 21 Dec 2009 17:13:35 +0000 |
| Subject: | note 37338 deleted from ref.com by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164222@lists.php.net to get a copy of this message | ||
Note Submitter: max at netznacht dot de
----
Apache 1.3
PHP 4.x
I found the Example from Admin Purplerain usefull but, it wasn't working without this first
Line:
com_load_typelib('Outlook.Application');
// after that the code from Purplerain
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olMailItem);
$a=$myItem->Recipients->Add("your adress here");
$myItem->Subject="Subject";
$myItem->Body="This is a Body Section now.....!";
$myItem->Display();
$myItem->Send();
Still have to switch of the Outlook Security Warnings.