mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
comment in existing email scheduling code
this reverts 9df80fbde19e561699af33b591e4fdb6c7bbf9cf fixing the crash by requiring EMail.php (from AWL) Note: this isn't called when inviting people yet, only when replying to an external organizer or when cancelling a meeting with external attendees. Actually sending these emails instead of just logging them also requires setting $c->iMIP->send_email = 1;
This commit is contained in:
parent
41f6267353
commit
6ac89a6315
@ -336,6 +336,7 @@ function deliverItipCancel( vCalendar $iTIP, vProperty $attendee, WritableCollec
|
||||
}
|
||||
|
||||
require_once('Multipart.php');
|
||||
require_once('EMail.php');
|
||||
|
||||
/**
|
||||
* Send an iMIP message since they look like a non-local user.
|
||||
@ -347,8 +348,7 @@ require_once('Multipart.php');
|
||||
function doImipMessage($method, $to_email, vCalendar $itip) {
|
||||
global $c, $request;
|
||||
|
||||
/*
|
||||
header( 'Debug: Sending iMIP '.$method.' message to '.$to_email);
|
||||
dbg_error_log( 'schedule' 'Sending iMIP %s message to %s', $method, $to_email );
|
||||
$mime = new MultiPart();
|
||||
$mime->addPart( $itip->Render(), 'text/calendar; charset=UTF-8; method='.$method );
|
||||
|
||||
@ -402,5 +402,4 @@ EOTEMPLATE;
|
||||
else {
|
||||
$email->Send($mime->getMimeHeaders());
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user