Hi,
a useful example can be found in
calendar/inc/class.calender_update.inc.php::send_update()
$notification = new notifications();
$notification->set_receivers(array($userid));
$notification->set_message($body);
$notification->set_sender($senderid);
$notification->set_subject($subject);
$notification->set_links(array($details[‘link_arr’]));
if(is_array($attachment)) {
$notification->set_attachments(array($attachment));
}
$notification->send();
Greetings
christian
srini46 schrieb:
Hello I have an application which should send automatic notifications on an
action. How do I use notifications application in eGw to send notifications
on specific actions?
Any hint would be a great help.
Thanks
ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers