AnsweredAssumed Answered

Custom Delivery Channel - Send Method

Question asked by diegopellucio on Aug 19, 2015
Latest reply on Aug 27, 2015 by Marcos Vainer Loeff

I would like to know for what subscription the send method was called. I created my own custom delivery channel and i need to access attributes of contact that Send method was called for. When the notification trigger, the send method is called once for each subscription, at this time i'm doing a foreach over result.Content.Notification.NotificationContacts and then i can get all contacts that are subscription for the triggered notification. If a have more than one subscription, i don't know what subscription the Send method was called for. I already tried the deprecated Content.Notification.NotificationContact, but it's throw's an exception. I'll be very gratefull with any help.

 

Thank you.

Outcomes