using swift mailer of symfony 2, got an email but getting unnecessary response in email
You need to use renderView() instead of render(), because render() always display the header.
In newer versions of Symfony2 like version 2.5.*
The solution is to use renderResponse and do a getContent() on it :
$content = $this->container->get('templating')->renderResponse(
'YOUR_TEMPLATE.twig',
templateParams)
)->getContent();
or with the same values like in the question :
$this->templating->renderResponse('SocialDonSocialBundle:Email:'.$template,$templateParams)->getContent();