Real Close Here's the code I'm using. What happens is it creates the appointment on my calendar, but doesn't on the others on the list. It also doesn't send them an email asking them to Accept the appointment. But when I delete or modify the appointment the others get an email.
So I need it to show up on other's calendar and send them an email.
What I'd like to do is run the debugger as Admin, but I'm not an admin. The docs give me some hints, but not enough to solve the problem.
Thanks much for your help.
K
---------------------------------------
$options = array('uri' => "urn:zimbraMail");
$params = array(
new SoapVar('<m d="1148883681781">
<e t="f" a="email1" />
<e t="t" a="email2" />
<e t="f" a="email3"/>
<e t="t" a="email4"/>
<inv method="REQUEST" type="event" fb="B" transp="O" status="CONF" allDay="0" name="Test">
<s d="20080131T020000"/>
<e d="20080131T023000"/>
<at a="email2" role="REQ" ptst="AC" rsvp="1"/>
<at a="email3" role="REQ" ptst="TE" rsvp="1"/>
<or a="email1"/>
</inv>
<mp ct="multipart/alternative"><mp ct="text/plain"><content/></mp><mp ct="text/html"><content/></mp></mp>
<su>Test </su>
</m>', XSD_ANYXML)
);
try {
echo "creating header<br>";
$soapHeader = new SoapHeader(
'urn:zimbra',
'context',
new SoapVar('<ns2:context><authToken>' . $authToken . '</authToken></ns2:context>', XSD_ANYXML)
);
echo "trying<br>";
$result = $soapClient->__soapCall(
"CreateAppointmentRequest",
$params,
$options,
$soapHeader
);
echo "executed<br>";
} |