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

Send Email via Web API

$
0
0

Hello,

I'm trying to send an email via the Web Api Action SendEmail (https://msdn.microsoft.com/en-us/library/mt608061.aspx).

The HTTP Post query is pretty simple

/api/data/v8.2/emails(s1264c44-0046-e711-80f8-5061f38se571)/Microsoft.Dynamics.CRM.SendEmail 


with the following JSON content

{"IssueSend": false
}


Put I get a 500 Internal Server Error. The strange thing is if I change "IssueSend" to true (so the mail isn't send to user, but just mark as sent in Dynamics), the query works perfectly well...

Has someone already succeed in sending an email to user through the web api ?

Thanks


Viewing all articles
Browse latest Browse all 79901

Trending Articles