eZ Community » Forums » General » Send an email to the user after...
expandshrink

Send an email to the user after collecting information

Send an email to the user after collecting information

Wednesday 02 April 2014 11:16:32 pm - 2 replies

Hi!

I need to Send an email to the user after collecting information.

Someone knows what is the better way de configure that?

Thanks.

Modified on Wednesday 02 April 2014 11:17:49 pm by Vincent GUYARD

Friday 14 November 2014 2:01:26 pm

Hi Vincent,

You can add changes to your email template for this, and add the users email to cc reciever with an append-block.

Add this to your templates/content/collectedinfomail/form.tpl

 

{foreach $collection.attributes as $attribute}
    {if eq($attribute.contentclass_attribute.identifier,'email')}
        {append-block scope=root variable=email_cc_receivers} {$attribute.content} {/append-block}
    {/if}
{/foreach}

Modified on Friday 14 November 2014 2:02:49 pm by Petter Arneson

Sunday 16 November 2014 12:30:31 am

Hi Petter,

I have no problem sending the same email contents to another users, this come nativly with ez.

What I was looking for was to send an email with a different contents to the user. I know there is a lot of way to do that but I was asking for the best solution.

The solution I used was something like that in templates/content/collectedinfomail/form.tpl

{send_mail_tpl subject='' body='' ... }

Ez is just so easy to implements solutions but I am always looking for the best one blunk.gif Emoticon

Atte,

Modified on Sunday 16 November 2014 12:31:20 am by Vincent GUYARD

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from