CPM Error - Address Creation
Summary:
I'm trying to set "Country" value to the Contact Address Standard Field through CPM. But CPM throws an error.
Any idea will be helpful
Thanks,
Seethalakshmi S
Content (required):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
if($Mailbox== 1)
{
try
{
$contact->Address = new RNCPHP\Address();
$contact->Address->Country->ID = RNCPHP\Country::fetch(9);
$contact->save();
}
Tagged:
0