diff options
author | James <31272717+gpd-pocket-hacker@users.noreply.github.com> | 2020-11-09 16:10:37 +0000 |
---|---|---|
committer | James <31272717+gpd-pocket-hacker@users.noreply.github.com> | 2020-11-09 16:24:06 +0000 |
commit | bfac22dc79164bab10185188e12cee313ab96de9 (patch) | |
tree | 4cee4dd9631304042982ddb0a248a541d9b6af12 /test_email.c | |
parent | 6a27a521f99c7babc9d000465b661f66b54ee101 (diff) | |
download | galaxy_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.c | 25 |
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; +} + |