I need to migrate SharePoint-2016 visual web part(C#) to SharePoint online. But visual web part contains custom feature like common XML configuration tags, send mail to users, authenticate AD groups, etc. What is the best way to migrate.
After done some search, by using Provided hosted app custom codes(c#) can be used in SharePoint Online. Kindly suggest any links or examples.