summaryrefslogtreecommitdiffstats
path: root/mail_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'mail_test.php')
-rw-r--r--mail_test.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail_test.php b/mail_test.php
new file mode 100644
index 0000000..8d77166
--- /dev/null
+++ b/mail_test.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Created by PhpStorm.
+ * User: kyle
+ * Date: 4/10/14
+ * Time: 10:22 AM
+ */
+
+error_reporting(E_ALL);
+
+if (mail('root@localhost', 'this is a subject', 'this is a 1 line message'))
+ print 'mail successfully sent';