summaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'test.php')
-rwxr-xr-xtest.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/test.php b/test.php
new file mode 100755
index 0000000..c6cdac5
--- /dev/null
+++ b/test.php
@@ -0,0 +1,12 @@
+<?php
+$to = "rush2jrp@gmail.com, rush2jrp@gmail.com";
+$subject = "New Cloud Comment";
+$message = "A new comment has been posted. <br> http://scilab.in/cloud_comments";
+$from = "textbook@scilab.in";
+
+$headers = "From: " . $from . "\r\n";
+$headers .= "MIME-Version: 1.0\r\n";
+$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
+mail($to,$subject,$message,$headers);
+echo "Mail Sent.";
+?>