Para::Frame::Renderer::Email - Renders an email for sending
Para::Frame::Renderer::Email->new( \%args )
$e->render_message( $to_addr )
If dataref is defined, returns it as the finished message.
Otherwise, concatenates the header with the body_encoded
The body encoding is dependant on the headers and the headers are dependant on the body.
Unless both header and body_encoded are defined, we will call
/render_header with $to_addr that in turn will set the header
and body_encoded properties.
The header depends on the body. The body depends on the header.
The standard functions availible in templates. This is called before the page is rendered. You should not call it by yourself.
req object.
Special params are:
$param as the first parameter.
$resp->add_params( \%params ) $resp->add_params( \%params, $keep_old_flag )
Adds template params. This can be variabls, objects, functions.
If $keep_old_flag is true, we will not replace existing params with
the same name.