--
-- packages/email-handler/sql/email-handler-create.sql
--
-- @author Henry Minsky <hqm@arsdigita.com>
-- @creation-date 2000-12-05
-- @cvs-id $Id: email-handler-create.sql,v 1.1 2001/05/03 20:49:32 domingoa Exp $
--

create table incoming_email_queue (
       id              integer primary key,
       tag	       varchar(256),
       -- The entire raw message body including all headers
       content	       text,           
       arrival_time    date
);

create sequence incoming_email_queue_sequence;

-- For testing the email handler
create table email_handler_test (
  from_header     varchar(4000),
  subject         varchar(4000),
  body            varchar(4000)
);

