How to send email from php application

Programming, error messages and sample code > sample code
NOTICE:  Trial account does not have SMTP service. Therefore, you cannot test this in your trial account. We do this to prevent spammer from taking advantage of our Free Trial Service.

To get PHP Sample codes, please simply login to your hosting control panel, go to Email Manager -> SMTP Code Sample.  You can select 'PHP' and it'll be copied to your hosting account.