File Manager
Back to List
| Current Directory: ~/
Editing: testmail.php
Full path: C:\ict\ICT\testmail.php
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<html> <head> <title>ThaiCreate.Com PHP Sending Email</title> </head> <body> <?php $strTo = "supimchanok@swu.ac.th"; $strSubject = "Test Send Email"; $strHeader = "From: webmaster@thaicreate.com"; $strMessage = "My Body & My Description"; $flgSend = @mail($strTo,$strSubject,$strMessage,$strHeader); // @ = No Show Error // if($flgSend) { echo "Email Sending."; } else { echo "Email Can Not Send."; } ?> </body> </html>