I'm creating email activity in CRM after the emails have been sent out so I need a way to set those activities to completed. Is it possible to do this without actually sending the emails through CRM??
// Create Email Activity
Xrm.Email email = new Xrm.Email
{
From = new Xrm.ActivityParty[] { fromParty },
Subject = subject,
ActivityId = Guid.NewGuid(),
Description = body,
DirectionCode = true,
RegardingObjectId = new EntityReference(Xrm.Account.EntityLogicalName, _acctId)
};
_emailId = _serviceProxy.Create(email);