Forums / Setup & design / Sender email == Reply address in Feedback form mail
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
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.
This is not possible without kernel hacking.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
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