Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Object address not found on party or party is marked as non-emailable

$
0
0

I am using CRM 2011 & getting below error when trying to send an email . 

"Object address not found on party or party is marked as non-emailable"

I looks into this error & found that its because user does not have valid email address to send an email . 

Can anybody help me how to solve this ?

Below is My Code :

Entity Email = new Entity("email");
Email.Attributes["from"] = from.ToArray();
Email.Attributes["to"] = to.ToArray();
Email.Attributes["subject"] = subject;
Email["description"] = MessageBody.ToString();

Guid EmailId = service.Create(Email);
SendEmailRequest req = new SendEmailRequest();



Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>