summaryrefslogtreecommitdiffstats
path: root/test_email.c
diff options
context:
space:
mode:
authorJames <31272717+gpd-pocket-hacker@users.noreply.github.com>2020-11-09 16:10:37 +0000
committerJames <31272717+gpd-pocket-hacker@users.noreply.github.com>2020-11-09 16:24:06 +0000
commitbfac22dc79164bab10185188e12cee313ab96de9 (patch)
tree4cee4dd9631304042982ddb0a248a541d9b6af12 /test_email.c
parent6a27a521f99c7babc9d000465b661f66b54ee101 (diff)
downloadgalaxy_tools-bfac22dc79164bab10185188e12cee313ab96de9.tar.gz
galaxy_tools-bfac22dc79164bab10185188e12cee313ab96de9.tar.bz2
galaxy_tools-bfac22dc79164bab10185188e12cee313ab96de9.zip
add email support
Diffstat (limited to 'test_email.c')
-rw-r--r--test_email.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/test_email.c b/test_email.c
new file mode 100644
index 0000000..9478f26
--- /dev/null
+++ b/test_email.c
@@ -0,0 +1,25 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "email.h"
+
+
+
+
+int main (int argc, char *argv[])
+{
+
+ if (argc != 4) {
+ fprintf (stderr, "Usage:\n");
+ fprintf (stderr, "\n");
+ fprintf (stderr, "test_email <to> <subject> <body>\n");
+ exit (1);
+ }
+
+
+ send_email (argv[1], argv[2], argv[3]);
+
+
+ return 0;
+}
+