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

Set Primary Email using CPM (2 Comments)

$
0
0

Topic by Mohana Gopal Selvam

Hi Gurus,

We have tried to set the primary email id using CPM. The following code is not working. 

Am I miss anything?

$contact->Emails[0]->Address = $contact->Phones->fetch("Mobile Phone")->Number."@yopmail.com";

Even I hardcode the email address, its not working.

$contact->Emails[0]->Address = "KKRR@yopmail.com";

Thanks,

Mohan


Viewing all articles
Browse latest Browse all 2504

Trending Articles