Feedback-Mail mit User-Betreffzeile als Mailsubject

03.02.2009 | eZ Publish

{set-block scope=root variable=subject}eZ-{$collection.object.name|wash}: {$collection.data_map.subject.content} {/set-block} {if and( is_set( $object.data_map.recipient ), $object.data_map.recipien


{set-block scope=root variable=subject}eZ-{$collection.object.name|wash}: {$collection.data_map.subject.content} {/set-block}

{if and( is_set( $object.data_map.recipient ), $object.data_map.recipient.has_content )}
{set-block scope=root variable=email_receiver}{$object.data_map.recipient.content}{/set-block}
{/if}

{* Set this to redirect to another node
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
*}

{*"The following feedback was collected"|i18n("design/ezwebin/collectedinfomail/feedback")*}
<table border="0" cellspacing="2" cellpadding="2">
{foreach $collection.attributes as $attribute}
<tr><td bgcolor="#dedede">
{$attribute.contentclass_attribute_name|wash()}
</td><td>
{attribute_result_gui view=info attribute=$attribute}
</td></tr>
{/foreach}
</table>
Hier wird auch eine html-formatierte Mail geschickt. Dazu muß in der settings/override/site.ini.append.php der html-Mailversand eingestellt werden:


[MailSettings]
...
ContentType=text/html

Analyse

Entwurf

Development

Launch