summaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
authorroot2014-06-19 12:21:24 +0200
committerroot2014-06-19 12:21:24 +0200
commit1b54f67fb2bc065c9e9dbb66d1e00e407d30456d (patch)
tree8f873c8bb00e6cc520cd07c943eab5680f08d747 /test.php
parenta3e435a558392908a3c91f796042668fa10bb33f (diff)
downloadscilab_cloud_interface-1b54f67fb2bc065c9e9dbb66d1e00e407d30456d.tar.gz
scilab_cloud_interface-1b54f67fb2bc065c9e9dbb66d1e00e407d30456d.tar.bz2
scilab_cloud_interface-1b54f67fb2bc065c9e9dbb66d1e00e407d30456d.zip
started propoer github maintainence
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.";
+?>