Forums / Setup & design / Sender email == Reply address in Feedback form mail

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

eZ debug

Timing: Jan 19 2025 07:15:09
Script start
Timing: Jan 19 2025 07:15:09
Module start 'content'
Timing: Jan 19 2025 07:15:10
Module end 'content'
Timing: Jan 19 2025 07:15:10
Script end

Main resources:

Total runtime0.6959 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0097 589.1016180.8125
Module start 'content' 0.00970.5772 769.9141542.0859
Module end 'content' 0.58690.1089 1,312.0000332.7422
Script end 0.6958  1,644.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5990210.0002
Check MTime0.00150.2224210.0001
Mysql Total
Database connection0.00070.104410.0007
Mysqli_queries0.628590.31741940.0032
Looping result0.00180.26361920.0000
Template Total0.657294.420.3286
Template load0.00270.394020.0014
Template processing0.654494.042920.3272
Template load and register function0.00010.019110.0001
states
state_id_array0.00160.224310.0016
state_identifier_array0.00190.269420.0009
Override
Cache load0.00230.3252170.0001
Sytem overhead
Fetch class attribute can translate value0.00100.149530.0003
Fetch class attribute name0.00090.131840.0002
XML
Image XML parsing0.00070.103830.0002
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00280.3970290.0001
String conversion0.00000.001730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs