This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » Mailtemplate



Friday 09 April 2010 1:46:12 pm - 4 replies

When adding this to my collectedinfomail/form.tpl

{set-block scope=root variable=email_sender} 

the mail isn't being send, but without it, it does.

Is this a bug in 4.3 because it works in earlier versions. In the kernel/content/collectedinformation.tpl it looks like this should be possible.

Modified on Sunday 11 April 2010 1:14:53 pm by Håvard Bergersen

Monday 12 April 2010 10:19:15 am

Hi Håvard,

Are you sure the {$} line actually outputs something ? You may want to push some debug magic in the template above, like the debug-log template function :

{debug-log var=$ msg='dumping collected data from mail tpl'}

This is equivalent to a


Let us know,

Modified on Monday 12 April 2010 10:19:32 am by Nicolas Pastorino

Monday 12 April 2010 10:47:19 am

'dumping collected data from mail'

So it holds the information. (Becides, the template loops throug $collection.attributes, and everything is where it is supposed to be, so that can't be the problem.)

Wednesday 14 April 2010 1:41:26 pm


Are you using protocol SMTP to send mails ?

Try to use "file" us protocol transport for sending mail to a log file ( var/[siteaccess]/log/mail ); modify your site.ini, block MailSettings, variable Transport.

Check if the file mail was created, then I suppose there is a problem in your SMTP Server, it's not accept a email test like, then try a real email.


Wednesday 14 April 2010 2:57:38 pm

Hmmm. The file is created and it contains the right info:


I don't use SMTP. I use 'sendmail'.

Thank you Abdelkader for your help! happy.gif Emoticon

Modified on Wednesday 14 April 2010 3:45:06 pm by Håvard Bergersen


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

36 542 Users on board!

Forums menu

Proudly Developed with from