Converting mail message to office 365 message

i am converting mail message to office 365 message like this “CType(in_MailMessage,UiPath.MicrosoftOffice365.Models.Office365Message)” but getting this type of error "Failed to move email message to folder ‘Processed’ . Error: Unable to cast object of type ‘System.Net.Mail.MailMessage’ to type ‘UiPath.MicrosoftOffice365.Models.Office365Message’.

Duplicate:How to convert MailMessage to Office365Message?

i did not get any solution on that link

As per the discussion in the above link,use this Mail Message Converter - RPA Component | UiPath Marketplace package to convert it.