cancel
Showing results for 
Search instead for 
Did you mean: 

Sending mail from C4C when creating Email via OData

0 Kudos
1,437

We are creating emails via the c4codataapi OData service, with reference to tickets that have been logged.

When the emails are created, we can see them under Activities > Emails (and also under the interactions for the ticket). However, no email is actually sent out by C4C.

What we would like, is that when we create an Email via OData, that an actual email is sent to the recipients specified.

We have tried different combinations of values for TransmissionStatusCode, Status, DocumentType, etc., in the hope that one of these might actually trigger the physical sending out of the email, but to no avail.

Is there a standard setting that supports this, or does it require some workaround?

Thanks,

Martin

View Entire Topic
David_Hendricks
Explorer
0 Kudos

I know it's been a while, but in case someone stumbles across this, I had the same requirement. The issue is, that the Email is not send, because the action to send it is not executed in a create via oData. 

In order to make it work a small enhancement via SDK is possible. The send action is callable from the activity BO. 

So extend the activity BO and in the before save check if, it is a create, the user is the oData user and it is activity type. If the conditions are true the send action can be called.

BR

David