Hi Brian,
I tested the multipart part and it doesn't work. This call breaks:
set body_id [acs_mail_body_new -header_subject $subject -content_item_id $multipart_id ]
Error:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
ERROR: Function acs_mail_body__new("unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", timestamptz, "unknown", "unknown", "unknown") does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
SQL:
select acs_mail_body__new (
NULL, -- body_id
NULL, -- body_reply_to
NULL, -- body_from
NULL, -- body_date
NULL, -- header_message_id
NULL, -- header_reply_to
'Testemail mit acs-mail', -- header_subject
NULL, -- header_from
NULL, -- header_to
'2009', -- content_item_id
'acs_mail_body', -- object_type
now(), -- creation_date
NULL, -- creation_user
NULL, -- creation_ip
null -- context_id
);