Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Emails with attachments showing as smime.p7m cannot be forwarded using the code example
var toRecipients = new List<Recipient>()
{
new Recipient
{
EmailAddress = new EmailAddress
{
Name = msgip.ExceptionsForwardTo.Substring(0,msgip.ExceptionsForwardTo.IndexOf("@")),
Address = msgip.ExceptionsForwardTo
}
}
};
var graphClient = getGraphClient(msgip);
await graphClient
.Users[targetAccount].Messages[theMessage.Id]
.Forward(toRecipients, null, comment)
.Request(hdrOptions)
.PostAsync();
Error message is ErrorItemNotFound Message: The specified object was not found in the store., Cannot open attachment. Inner error:
Is this a bug?
An API that connects multiple Microsoft services, enabling data access and automation across platforms