diff options
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; +} + |