Sender email == Reply address in Feedback form mail

Author Message

Esteban Escalera

Monday 31 October 2005 10:53:46 am

Hi!

I read this topic here: http://ez.no/community/forum/setup_design/modifying_the_sender_email_in_feedback_form

But there is something I'm doing wrong. I can't get to make the sender mail address to be the same as the Reply address in the mail I recive.

Also, in the same subject, there is a way to make the ezPublish auto-reply whenever someone sends the feedback form?

My code

{set-block scope=root variable=subject}
{"Información recolectada de %1"|i18n("design/standard/content/edit",,array($collection.object.name))}
{/set-block}

{set-block scope=root variable=email_sender}
    {$collection.attributes.4.data_text}
{/set-block}

{set-block scope=root variable=email_receiver}
{$object.data_map.recipient.content}
{/set-block}

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

{"La siguiente información fue recolectada de la hoja de contacto:"|i18n("design/standard/content/edit")}

{section name=Attribute loop=$collection.attributes}
{$Attribute:item.contentclass_attribute_name}:
{$Attribute:item.data_text|wash}

{/section}


Łukasz Serwatka

Wednesday 02 November 2005 12:29:59 am

But there is something I'm doing wrong. 
I can't get to make the sender mail address to be the same as the Reply address in the mail I recive.

Sender e-mail is set as e-mail for "Reply-To". Make sure that {$collection.attributes.4.data_text} return value, if e-mail is not valid then EmailSender from [MailSettings] will be use.

Also, in the same subject, there is a way to make the ezPublish auto-reply whenever someone sends the feedback form?

This is not possible without kernel hacking.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Esteban Escalera

Wednesday 02 November 2005 11:13:40 am

Well, thanks, I guess I'll have to learn a bit more about ezpublish before messing with the kernel =P

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 04:39:49
Script start
Timing: Jan 19 2025 04:39:49
Module start 'layout'
Timing: Jan 19 2025 04:39:49
Module start 'content'
Timing: Jan 19 2025 04:39:50
Module end 'content'
Timing: Jan 19 2025 04:39:50
Script end

Main resources:

Total runtime0.7871 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 590.4375152.6406
Module start 'layout' 0.00770.0037 743.078139.4766
Module start 'content' 0.01140.7743 782.5547536.9922
Module end 'content' 0.78570.0014 1,319.546912.1250
Script end 0.7871  1,331.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4704160.0002
Check MTime0.00140.1810160.0001
Mysql Total
Database connection0.00080.105110.0008
Mysqli_queries0.735693.4599570.0129
Looping result0.00050.0682550.0000
Template Total0.750295.320.3751
Template load0.00220.282420.0011
Template processing0.747995.021820.3740
Template load and register function0.00030.036810.0003
states
state_id_array0.00100.131910.0010
state_identifier_array0.00090.110420.0004
Override
Cache load0.00180.2298170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.091120.0004
Fetch class attribute name0.00120.157340.0003
XML
Image XML parsing0.00060.082220.0003
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00110.1416180.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs