How to sent email via ASP.NET / ASP / PHP sample script

Control Panel V5 > Hostings > Websites
To get the Sample codes, please simply login to your hosting control panel, go to WEBSITES -->Manage Website --> SMTP Scriptes.  
 
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: