Are you sure the {$collection.data_map.email.content} 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=$collection.data_map.email.content msg='dumping collected data from mail tpl'}
This is equivalent to a
eZDebug::writeDebug(...);
Let us know, Cheers
--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board
Debug: 'dumping collected data from mail tpl:teste@test.com'
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.)
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 teste@test.com, then try a real email.
Tks
Abdelkader RHOUATI
Blog (french) : http://arhouati.com
----
Extension arh_jdebug : EzDebug using jquery