Forward method
Forwards the post item. Calling this method results in a call to EWS.
The prefix to prepend to the original body of the post item.
The recipients to forward the post item to.
Implementation
Future<void> Forward(
MessageBody bodyPrefix,
Iterable<EmailAddress> toRecipients,
) async {
ResponseMessage responseMessage = CreateForward();
responseMessage.BodyPrefix = bodyPrefix;
responseMessage.ToRecipients.AddRange(toRecipients);
// Equivalent of responseMessage.SendAndSaveCopy(), awaited.
await responseMessage.InternalCreate(
null,
MessageDisposition.SendAndSaveCopy,
);
}