summaryrefslogtreecommitdiffstats
path: root/test_email.c
blob: 9478f267eeaef594ca758d8a9ea127beae97abe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}