You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CPM: Send a mailing without specifying an incident or opportunity

Accepted answer
36
Views
3
Comments
edited Jan 27, 2017 4:10AM in Integrations and APIs 3 comments

Content

I want to send a mailing when a new record is created in a custom object. There are no incidents or opportunities associated with these; it's a one-off communication. How would I trigger this from a custom process on create event of the custom object?

I tried calling

RNCPHP\Mailing::SendMailingToContact($contact, null, $mailingID, time());

but that doesn't seem to be working. The contact and the mailing have been created already. The second argument is supposed to be an incident or an opportunity. I can't find any other functions which trigger a mailing (as opposed to a custom email).

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!