diff mail.h @ 0:33bf7ee17644

Initial import from some old code
author Adam Chlipala <adam@chlipala.net>
date Sat, 03 Mar 2012 14:59:04 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mail.h	Sat Mar 03 14:59:04 2012 -0500
@@ -0,0 +1,13 @@
+#include <urweb.h>
+
+typedef struct headers *uw_Mail_headers;
+
+extern uw_Mail_headers uw_Mail_empty;
+
+uw_Mail_headers uw_Mail_from(uw_context, uw_Basis_string, uw_Mail_headers);
+uw_Mail_headers uw_Mail_to(uw_context, uw_Basis_string, uw_Mail_headers);
+uw_Mail_headers uw_Mail_cc(uw_context, uw_Basis_string, uw_Mail_headers);
+uw_Mail_headers uw_Mail_bcc(uw_context, uw_Basis_string, uw_Mail_headers);
+uw_Mail_headers uw_Mail_subject(uw_context, uw_Basis_string, uw_Mail_headers);
+
+uw_unit uw_Mail_send(uw_context, uw_Mail_headers, uw_Basis_string body, uw_Basis_string xbody);