Free Support Forum - aspose.com

Why is there a difference between IEwsClient.Send and IGraphClient.Send

the IEWSCLient.Send function takes a MailMessage type as a parameter, whereas the IGraphClient takes a MapiMessage.

I am making a generic MailSend() function that takes a MailMessage and uses an SmptClient, IEWSClient or IGraphClient behind the scenes, according to the mail configuration of my application.

EWS and Graph are both Microsoft-specific, so why the difference?

@marieke.saeij,

Actually, the GraphClient implementation is partially completed. We have considered your input for having a GraphClient.Send() overload method to use MailMessage as well. A ticket with ID EMAILNET-39878 has been created in our issue tracking system to provide the requested support. We will share the good news with you as soon as the feature will be included.