<?php
echo $this->Html->url(array('controller'=>'registration','action'=>'active','code'=>$key,
'?'=>array('mail'=>$data['User']['mail'])));
?>