How to send email with ASP.NET, ASP, or PHP

Control Panel V10 > Hosting Control Panel

To get the Sample codes, please simply sign in to your Hosting Control Panel, go to WEBSITES > Manage Website > SMTP Scripts.

You can select script type, and select the target site you'd like to copy this script to.

After that it'll be copied to your site root folder and provide you a link to test the SMTP service:

Current Control Panel screen

Current Control Panel screen