view 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 source
#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);