I'm using php and outlook to send automatic emails. What I desire is to mention some emails on the CC. After thousands of search, I did not found any answers.
Below my script :
com_load_typelib("outlook.application");
if (!defined("olMailItem")) {
define("olMailItem",0);
}
$outlook_Obj = new COM("outlook.application") or die("Unable to start Outlook");
$oMsg = $outlook_Obj->CreateItem(olMailItem);
$oMsg->Recipients->Add("jajaja@google.com");