ad_build_mime_message (public)

 ad_build_mime_message text_body html_body [ charset ]

Defined in packages/acs-tcl/tcl/html-email-procs.tcl

Composes multipart/alternative email containing plain text and html versions of the message, parses out the headers we need, constructs an array and returns it to the caller. This proc is based on ad_html_sendmail, written by Doug Harris at the World Bank.

Parameters:
text_body (required)
html_body (required)
charset (optional, defaults to "UTF-8")
Returns:
ns_set containing MIME-Version, Content-ID, Content-Type, and body

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_build_mime_message ad_build_mime_message (test acs-tcl) ad_build_mime_message ad_build_mime_message test_ad_build_mime_message->ad_build_mime_message mime::buildmessage mime::buildmessage ad_build_mime_message->mime::buildmessage mime::initialize mime::initialize ad_build_mime_message->mime::initialize build_mime_message build_mime_message (public, deprecated) build_mime_message->ad_build_mime_message

Testcases:
ad_build_mime_message
[ show source ]
Show another procedure: