Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

CPM: Send a mailing without specifying an incident or opportunity (3 Comments)

$
0
0

Topic by Ashley Wilson

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).

Ideas?

Version

OSC Nov 2016, ConnectPHP 1.3, CPM 1

Viewing all articles
Browse latest Browse all 2504

Trending Articles