Share » Forums » Developer » Email receiver, help !!

Email receiver, help !!

Email receiver, help !!

Thursday 29 November 2007 1:42:04 pm - 4 replies

Author Message

Daniel Farray

Thursday 29 November 2007 2:21:06 pm

Sorted. Thanks anyway.

D K

Thursday 29 January 2009 8:43:40 pm

I have the same problem. Can you please explain how did you sort it out?

http://www.eyepax.com

Koutouan Emmanuel

Friday 30 January 2009 7:22:10 am

hello,

In the class of form add 3 attibutes: receiver[email], sender[email] and subjet[line of text]

In form.tpl (/design/xxx/templates/content/collectedinfomail/form.tpl),
clean all and paste :

{*start*}
{set-block scope=root variable=email_receiver}{$object.data_map.receiver.content}{/set-block}
{set-block scope=root variable=email_sender}{$object.data_map.sender.content}{/set-block}
{set-block scope=root variable=subject}{$object.data_map.subjet.content}{/set-block}
{"The following information was collected"|i18n("design/ezwebin/collectedinfomail/form")}:
{foreach $collection.attributes as $attribute}
<p>
{$attribute.contentclass_attribute_name|wash}:
{attribute_result_gui view=info attribute=$attribute}
</p>
{/foreach}
{*end*}

copy, paste

bye

Matthias Wittwer

Monday 09 February 2009 12:52:36 am

Doesn't work for me as well.
I am using 4.0.

If I put the email adress like this it works:

{set-block scope=root variable=email_receiver}my_email_to_send_to@my_url.com{/set-block}

This does not work, even if the output of the variable in the so-called mail body is correct!

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

Mail body:
SendTo: {$object.data_map.sendTo.content}

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu