Hi,
You can create extension using Integration Studio and consume it in your Project.
Create a function and accept From,To, UserName, Password, Subject .....
and use normal asp.net code
it will surely work
https://www.c-sharpcorner.com/UploadFile/2a6dc5/how-to-send-a-email-using-Asp-Net-C-Sharp/